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

Function service

test/angular/1.3/angular.js:4086–4090  ·  view source on GitHub ↗
(name, constructor)

Source from the content-addressed store, hash-verified

4084 }
4085
4086 function service(name, constructor) {
4087 return factory(name, ['$injector', function($injector) {
4088 return $injector.instantiate(constructor);
4089 }]);
4090 }
4091
4092 function value(name, val) { return factory(name, valueFn(val), false); }
4093

Callers

nothing calls this directly

Calls 1

factoryFunction · 0.70

Tested by

no test coverage detected