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

Function service

lib/test/angular/1.4.3/angular.js:4317–4321  ·  view source on GitHub ↗
(name, constructor)

Source from the content-addressed store, hash-verified

4315 }
4316
4317 function service(name, constructor) {
4318 return factory(name, ['$injector', function($injector) {
4319 return $injector.instantiate(constructor);
4320 }]);
4321 }
4322
4323 function value(name, val) { return factory(name, valueFn(val), false); }
4324

Callers

nothing calls this directly

Calls 1

factoryFunction · 0.70

Tested by

no test coverage detected