MCPcopy Create free account
hub / github.com/bclinkinbeard/angular / factory

Function factory

test/fixtures/foo.js:3841–3841  ·  view source on GitHub ↗
(name, factoryFn)

Source from the content-addressed store, hash-verified

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

Callers 4

ensureFunction · 0.85
serviceFunction · 0.85
valueFunction · 0.85
getServiceFunction · 0.85

Calls 1

providerFunction · 0.85

Tested by

no test coverage detected