MCPcopy Create free account
hub / github.com/OpenReservation/OpenReservation / service

Function service

OpenReservation/wwwroot/Scripts/angular.js:4466–4473  ·  view source on GitHub ↗
(name, constructor)

Source from the content-addressed store, hash-verified

4464 }
4465
4466 function service(name, constructor) {
4467 return factory(name,
4468 [
4469 '$injector', function ($injector) {
4470 return $injector.instantiate(constructor);
4471 }
4472 ]);
4473 }
4474
4475 function value(name, val) { return factory(name, valueFn(val), false); }
4476

Callers

nothing calls this directly

Calls 1

factoryFunction · 0.85

Tested by

no test coverage detected