MCPcopy
hub / github.com/angular-ui/ui-router / factory

Function factory

test/angular/1.2/angular.js:3842–3842  ·  view source on GitHub ↗
(name, factoryFn)

Source from the content-addressed store, hash-verified

3840 }
3841
3842 function factory(name, factoryFn) { return provider(name, { $get: factoryFn }); }
3843
3844 function service(name, constructor) {
3845 return factory(name, ['$injector', function($injector) {

Callers 4

ensureFunction · 0.70
serviceFunction · 0.70
valueFunction · 0.70
getServiceFunction · 0.70

Calls 1

providerFunction · 0.70

Tested by

no test coverage detected