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

Function constant

test/angular/1.3/angular.js:4094–4098  ·  view source on GitHub ↗
(name, value)

Source from the content-addressed store, hash-verified

4092 function value(name, val) { return factory(name, valueFn(val), false); }
4093
4094 function constant(name, value) {
4095 assertNotHasOwnProperty(name, 'constant');
4096 providerCache[name] = value;
4097 instanceCache[name] = value;
4098 }
4099
4100 function decorator(serviceName, decorFn) {
4101 var origProvider = providerInjector.get(serviceName + providerSuffix),

Callers

nothing calls this directly

Calls 1

assertNotHasOwnPropertyFunction · 0.70

Tested by

no test coverage detected