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

Function constant

lib/test/angular/1.8.0/angular.js:5065–5069  ·  view source on GitHub ↗
(name, value)

Source from the content-addressed store, hash-verified

5063 function value(name, val) { return factory(name, valueFn(val), false); }
5064
5065 function constant(name, value) {
5066 assertNotHasOwnProperty(name, 'constant');
5067 providerCache[name] = value;
5068 instanceCache[name] = value;
5069 }
5070
5071 function decorator(serviceName, decorFn) {
5072 var origProvider = providerInjector.get(serviceName + providerSuffix),

Callers

nothing calls this directly

Calls 1

assertNotHasOwnPropertyFunction · 0.70

Tested by

no test coverage detected