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
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
In your route configuration, it's easy to accidentally write:
$routeProvider.otherwise('/');
Thinking that it will behave like:
$routeProvider.otherwise({redirectTo: '/'});
What will actually happen is that the app's routing will have no otherwise behavior.
$routeProvider.otherwise should either throw an error, or alias the string as the redirectTo property of the configuration. I have a slight preference towards a string parameter be the same as redirectTo.