I have an Angular v1.3 application, which uses Angular ui-router v0.2.13 for all routing. The site works great on all browsers, including IE 10 and IE 11, but not IE 9 (we've decided not to pursue IE8, which I understand isn't supported by v1.3, anyway). Despite my best efforts, IE 9 continually resolves to my $stateProvider's
otherwise
route (which is set to /*path
, a possible culprit, so I disabled that route for testing purposes).
In an attempt to get any other route to resolve, I've tried setting $locationProvider.html5Mode(false)
, modified the $locationProvider.hashPrefix
, changed the <base href="/" />
to various URLs, including <base href="/#!"/>
, and I've even included xmlns:ng="http://angularjs.org"
in the <html>
tag for good measure. No matter what I try, IE 9 continually tries to resolve to my otherwise
route, or nothing if that route is disabled. BTW, my home page route URL is set to /
.
I've been up to my eyeballs in code with a launch deadline looming, so I'll be the first to admit that I'm potentially overlooking something obvious. Can anyone offer any other tips or tricks to cause ui-router to resolve properly in IE 9?