MCPcopy
hub / github.com/angular-ui/ui-router / injectableHandler

Method injectableHandler

src/urlRouterProvider.ts:34–36  ·  view source on GitHub ↗
(router: UIRouter, handler: IInjectable)

Source from the content-addressed store, hash-verified

32 */
33export class UrlRouterProvider {
34 static injectableHandler(router: UIRouter, handler: IInjectable): UrlRuleHandlerFn {
35 return (match) => services.$injector.invoke(handler, null, { $match: match, $stateParams: router.globals.params });
36 }
37
38 /** @hidden */
39 constructor(/** @hidden */ private router: UIRouter) {}

Callers 1

whenMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected