Plunker:
http://plnkr.co/edit/44B5KBOGqUFqa2kvAjMM
When browsing to this file (html5mode is true), IE9 produces the following errors:
Error: 10 $digest() iterations reached. Aborting!
Watchers fired in the last 5 iterations: ... $locationChangeStart ...
SCRIPT5022: 10 $digest() iterations reached. Aborting!
Watchers fired in the last 5 iterations: ... $locationChangeStart ...
angular.min.js, line 85 character 315
A redirect to the hashbang url is then performed (for example, from
http://server/test to
http://server/#!/test). Is this a bug? Or do you have to do additional configuration to support IE9 for html5mode(true) (like configuring the appropriate redirects on the server)?
Note that if you remove the injection of the $location service into the controller, the error goes away (and IE9 stays on the original URL).
Also, this page works fine in Chrome, of course.
Thanks,
-Dave