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

Function constant

test/angular/1.2/angular.js:3852–3856  ·  view source on GitHub ↗
(name, value)

Source from the content-addressed store, hash-verified

3850 function value(name, val) { return factory(name, valueFn(val)); }
3851
3852 function constant(name, value) {
3853 assertNotHasOwnProperty(name, 'constant');
3854 providerCache[name] = value;
3855 instanceCache[name] = value;
3856 }
3857
3858 function decorator(serviceName, decorFn) {
3859 var origProvider = providerInjector.get(serviceName + providerSuffix),

Callers

nothing calls this directly

Calls 1

assertNotHasOwnPropertyFunction · 0.70

Tested by

no test coverage detected