MCPcopy Create free account
hub / github.com/EricSimons/ionic-course / service

Function service

code/songhop/www/lib/angular/angular.js:4036–4040  ·  view source on GitHub ↗
(name, constructor)

Source from the content-addressed store, hash-verified

4034 }
4035
4036 function service(name, constructor) {
4037 return factory(name, ['$injector', function($injector) {
4038 return $injector.instantiate(constructor);
4039 }]);
4040 }
4041
4042 function value(name, val) { return factory(name, valueFn(val), false); }
4043

Callers 2

$ViewDirectiveFunction · 0.50
$ViewDirectiveFunction · 0.50

Calls 1

factoryFunction · 0.70

Tested by

no test coverage detected