MCPcopy Create free account
hub / github.com/apache/cloudstack / factory

Function factory

tools/ngui/static/js/lib/angular.js:2772–2772  ·  view source on GitHub ↗
(name, factoryFn)

Source from the content-addressed store, hash-verified

2770 }
2771
2772 function factory(name, factoryFn) { return provider(name, { $get: factoryFn }); }
2773
2774 function service(name, constructor) {
2775 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