MCPcopy Create free account
hub / github.com/angular-ui/ui-router / createAndSet

Function createAndSet

test/angular/1.3/angular.js:24031–24036  ·  view source on GitHub ↗
(name, value, controller)

Source from the content-addressed store, hash-verified

24029 }
24030
24031 function createAndSet(name, value, controller) {
24032 if (!ctrl[name]) {
24033 ctrl[name] = {};
24034 }
24035 set(ctrl[name], value, controller);
24036 }
24037
24038 function unsetAndCleanup(name, value, controller) {
24039 if (ctrl[name]) {

Callers 1

setValidityFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected