You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If after the application is loaded I check $urlRouter.rules(), the rule that's associated with this when call has a { priority: 0 } rather than the { priority: -1 } that we specified.
This issue tracker is for Bug Reports and Feature Requests only.
Please direct requests for help to StackOverflow.
See http://bit.ly/UIR-SOF for details.
This is a (check one box):
My version of UI-Router is:
1.0.29
Bug Report
Current Behavior:
When configuring a route such as the following:
If after the application is loaded I check
$urlRouter.rules()
, the rule that's associated with thiswhen
call has a{ priority: 0 }
rather than the{ priority: -1 }
that we specified.However, if we do this in a
.run
it works:And the
{ priority: -1 }
is correctly configured in the$urlRouter.rules()
for this rule.Expected Behavior:
That
$urlRouterProvider.when
has the same interface as$urlRouter.when
in that it honors theoptions
passed as the 3rd argument.The text was updated successfully, but these errors were encountered: