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

Function constant

lib/test/angular/1.6.7/angular.js:4952–4956  ·  view source on GitHub ↗
(name, value)

Source from the content-addressed store, hash-verified

4950 function value(name, val) { return factory(name, valueFn(val), false); }
4951
4952 function constant(name, value) {
4953 assertNotHasOwnProperty(name, 'constant');
4954 providerCache[name] = value;
4955 instanceCache[name] = value;
4956 }
4957
4958 function decorator(serviceName, decorFn) {
4959 var origProvider = providerInjector.get(serviceName + providerSuffix),

Callers

nothing calls this directly

Calls 1

assertNotHasOwnPropertyFunction · 0.70

Tested by

no test coverage detected