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
I have seen suggestions for redirect using .when()
but is it possible to define a redirect url/state in the $stateProvider.state definition itself.
In my application, it is semantically appropriate that I navigate to parent state rather than parent.child. Also, if it is handled there then $state.go ('^') from parent.child should go to the grandparent state, if any. I have several such states in my application and I feel it's cleaner to have a feature than use .when ()
ps. Apologies for the spam
The text was updated successfully, but these errors were encountered:
I have seen suggestions for redirect using .when()
but is it possible to define a redirect url/state in the $stateProvider.state definition itself.
In my application, it is semantically appropriate that I navigate to parent state rather than parent.child. Also, if it is handled there then $state.go ('^') from parent.child should go to the grandparent state, if any. I have several such states in my application and I feel it's cleaner to have a feature than use .when ()
ps. Apologies for the spam
The text was updated successfully, but these errors were encountered: