MCPcopy
hub / github.com/angular-ui/ui-router / createAndSet

Function createAndSet

test/angular/1.4/angular.js:26511–26516  ·  view source on GitHub ↗
(name, value, controller)

Source from the content-addressed store, hash-verified

26509 }
26510
26511 function createAndSet(name, value, controller) {
26512 if (!ctrl[name]) {
26513 ctrl[name] = {};
26514 }
26515 set(ctrl[name], value, controller);
26516 }
26517
26518 function unsetAndCleanup(name, value, controller) {
26519 if (ctrl[name]) {

Callers 1

setValidityFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected