()
| 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); |
no outgoing calls
no test coverage detected