You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.
I was testing my AngularJS app with IE9. I noticed that I could not navigate to the main AngularJS.org website home page: http://angularjs.org/#/list in IE9.
Thank you kindly for all your efforts. The AngularJS framework is an
incredible thing. I just happened to be testing my app in IE and noticed
this issue. I just want to say I am thankful for all that has been done to
make AngularJS so awesome.
We've been using Angular for several months now and it's been awesome :)
Here's a workaround we're using for this issue (forces a refresh from any url like example.com/app/foo/bar to example.com/app/#/foo/bar, assuming that there is a <base href="/app/"> tag):
<script type="text/javascript">
if (window.history == undefined || window.history.pushState == undefined) {
if (!window.location.hash) {
var baseHref = document.getElementsByTagName('base')[0].href;
baseHref = baseHref ? baseHref.replace(/^https?\:\/\/[^\/]*/, '') : baseHref;
var matches = window.location.pathname.match(new RegExp("^"+baseHref+"(.*)$"));
var thePath = matches && matches.length > 1 ? matches[1] : "";
window.location = baseHref+"#/"+thePath;
}
}
</script>
I was testing my AngularJS app with IE9. I noticed that I could not navigate to the main AngularJS.org website home page: http://angularjs.org/#/list in IE9.
It seems to be stuck in an infinite routing loop. Going from http://angularjs.org to http://angularjs.org/#/list to http://angularjs.org to http://angularjs.org/#/list.
I just thought I would mention it because AngularJS is incredibly important new advancement in browser apps :-)
Best regards,
Chris
The text was updated successfully, but these errors were encountered: