This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
Angular.js $location.path(url) loop back to root in windows mobile IE #5980
Open
Description
We are using the angular js in the mobile development. It works fine in iOS and Android mobile browser.
We have few routes in the application and use $location.path(href)
to change the route. All works fine in iOS and Android mobile devices.
In windows mobile IE when we change 2 to 3 routes and tries to hit the device back button it directly takes me back to the root instead of taking to one step back in the window.history
.
If we use the $window.location.hash
to change the location then the history issue goes away but then there is a [$rootScope:infdlg] 10 $digest() iterations reached. Aborting watchers fired in the last 5 iterations
issue is seen.
Is there any workaround to get around the issue?