MCPcopy Index your code
hub / github.com/angular-ui/ui-router / createAndSet

Function createAndSet

test/angular/1.5/angular.js:29029–29034  ·  view source on GitHub ↗
(name, value, controller)

Source from the content-addressed store, hash-verified

29027 }
29028
29029 function createAndSet(name, value, controller) {
29030 if (!ctrl[name]) {
29031 ctrl[name] = {};
29032 }
29033 set(ctrl[name], value, controller);
29034 }
29035
29036 function unsetAndCleanup(name, value, controller) {
29037 if (ctrl[name]) {

Callers 1

setValidityFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected