MCPcopy Create free account
hub / github.com/EricSimons/ionic-course / constant

Function constant

code/songhop/www/lib/angular/angular.js:4044–4048  ·  view source on GitHub ↗
(name, value)

Source from the content-addressed store, hash-verified

4042 function value(name, val) { return factory(name, valueFn(val), false); }
4043
4044 function constant(name, value) {
4045 assertNotHasOwnProperty(name, 'constant');
4046 providerCache[name] = value;
4047 instanceCache[name] = value;
4048 }
4049
4050 function decorator(serviceName, decorFn) {
4051 var origProvider = providerInjector.get(serviceName + providerSuffix),

Callers

nothing calls this directly

Calls 1

assertNotHasOwnPropertyFunction · 0.70

Tested by

no test coverage detected