Closed
Description
I notice the demonstration of ui-router does not work with html5mode(true) -- is it a known issue that it does not work with pushState?
I have an angular application at a URL like: http://mywebsite.com/admin with routes like http://mywebsite.com/admin/users where /users is defined as a state:
$locationProvider.html5Mode(true);
[...]
$stateProvider
.state('admin', {
url: '/admin'
})
.state('admin.users', {
url: '/users'
});
When the page loads in IE9 the browser flashes the /admin/index.html page contents and then immediately redirects to http://mywebsite.com/
I am aware of a problem with redirection in IE9, thought it seems unrelated:
angular/angular.js#1417
Either way I suppose the only way to make the ui-router work with applications that don't live at the domain root is to turn off html5mode. Can you confirm this is true?
Thanks!
Metadata
Metadata
Assignees
Labels
No labels