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

Method match

src/urlRouterProvider.ts:83–83  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

81 if (!isFunction(ruleFn)) throw new Error("'rule' must be a function");
82
83 const match = () => ruleFn(services.$injector, this.router.locationService);
84
85 const rule = new BaseUrlRule(match, identity);
86 this.router.urlService.rules.rule(rule);

Callers 15

copyElementFunction · 0.80
startingTagFunction · 0.80
anonFnFunction · 0.80
annotateFunction · 0.80
parseIsolateBindingsFunction · 0.80
compileFunction · 0.80
collectDirectivesFunction · 0.80
getControllersFunction · 0.80
$ControllerProviderFunction · 0.80
isJsonLikeFunction · 0.80
angular.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected