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
UI-Router appears to have a bug as mentioned at angular-ui/ui-router#600. It causes an infinite loop when you try to modify the state in the statechangestart event.
There is a workaround. It would be nice to add to the project
$urlRouterProvider.otherwise( function($injector, $location) {
var $state = $injector.get("$state");
$state.go("dashboard");
});
The text was updated successfully, but these errors were encountered:
Can you be more specific about the use case that would justify changing the state in the statechangestart event?
Also, the ng-admin router already does $urlRouterProvider.otherwise('/dashboard');. If your snippet solves a but, would you mind submitting a PR with the snippet and an e2e test demonstrating the bug?
UI-Router appears to have a bug as mentioned at angular-ui/ui-router#600. It causes an infinite loop when you try to modify the state in the statechangestart event.
There is a workaround. It would be nice to add to the project
The text was updated successfully, but these errors were encountered: