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

Function factory

lib/test/angular/1.4.3/angular.js:4311–4315  ·  view source on GitHub ↗
(name, factoryFn, enforce)

Source from the content-addressed store, hash-verified

4309 }
4310
4311 function factory(name, factoryFn, enforce) {
4312 return provider(name, {
4313 $get: enforce !== false ? enforceReturnValue(name, factoryFn) : factoryFn
4314 });
4315 }
4316
4317 function service(name, constructor) {
4318 return factory(name, ['$injector', function($injector) {

Callers 5

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

Calls 2

providerFunction · 0.70
enforceReturnValueFunction · 0.70

Tested by

no test coverage detected