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

Function service

lib/test/angular/1.7.0/angular.js:4942–4946  ·  view source on GitHub ↗
(name, constructor)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

factoryFunction · 0.70

Tested by

no test coverage detected