MCPcopy Create free account
hub / github.com/angular-ui/ui-grid / service

Function service

lib/test/angular/1.6.7/angular.js:4944–4948  ·  view source on GitHub ↗
(name, constructor)

Source from the content-addressed store, hash-verified

4942 }
4943
4944 function service(name, constructor) {
4945 return factory(name, ['$injector', function($injector) {
4946 return $injector.instantiate(constructor);
4947 }]);
4948 }
4949
4950 function value(name, val) { return factory(name, valueFn(val), false); }
4951

Callers

nothing calls this directly

Calls 1

factoryFunction · 0.70

Tested by

no test coverage detected