Wasn't sure how to create a plunker using the master.
The following does not work as urlMatcherFactory's $get method is what activates the new UrlMatchers. $get does not get called when injected into a config block. injecting via a run block comes too late.
Wasn't sure how to create a plunker using the master.
The following does not work as urlMatcherFactory's $get method is what activates the new UrlMatchers. $get does not get called when injected into a config block. injecting via a run block comes too late.
https://github.com/angular-ui/ui-router/blob/master/src/urlMatcherFactory.js#L694