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

Function service

lib/test/angular/1.5.0/angular.js:4457–4461  ·  view source on GitHub ↗
(name, constructor)

Source from the content-addressed store, hash-verified

4455 }
4456
4457 function service(name, constructor) {
4458 return factory(name, ['$injector', function($injector) {
4459 return $injector.instantiate(constructor);
4460 }]);
4461 }
4462
4463 function value(name, val) { return factory(name, valueFn(val), false); }
4464

Callers

nothing calls this directly

Calls 1

factoryFunction · 0.70

Tested by

no test coverage detected