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

Function constant

lib/test/angular/1.5.0/angular.js:4465–4469  ·  view source on GitHub ↗
(name, value)

Source from the content-addressed store, hash-verified

4463 function value(name, val) { return factory(name, valueFn(val), false); }
4464
4465 function constant(name, value) {
4466 assertNotHasOwnProperty(name, 'constant');
4467 providerCache[name] = value;
4468 instanceCache[name] = value;
4469 }
4470
4471 function decorator(serviceName, decorFn) {
4472 var origProvider = providerInjector.get(serviceName + providerSuffix),

Callers

nothing calls this directly

Calls 1

assertNotHasOwnPropertyFunction · 0.70

Tested by

no test coverage detected