Closed
Description
$urlRouterProvider has a problem if the incoming path that I want to redirect is empty and there is a state with an url that is also empty.
If I declare something like:
$urlRouterProvider
.when('','/staff')
.otherwise("/error");
and then I declare a named state with an empty "url"...
When calling the webapp in it's root format, http://host:port/webapp
- Chrome, ignores the $urlRouterProvider and jumps into the state with the empty url (bug).
- IE and Firefox works fine following the rule in the $urlRouterProvider, jumping into the state that has the '/staff' associated url.
The 1) glitch started happening since lib version 0.2.16 and only in Chrome browsers.