Skip to content Skip to sidebar Skip to footer

Angularjs Html5 Routing Enabled : Passing Url Back To Server?

I have an AngularJS SPA with Html5Mode enabled. I removed the hashes from my URLS and everything works great except for one issue. Our site has download links for downloading docum

Solution 1:

I figured it out! :) The solution is to add target='_self' to your anchor tag. Any of the other target values work too; "_blank", "_top" and so on. I tested this in IE 9, 10; Chrome 40-43, Opera 25-29, and Safari 5.1


Post a Comment for "Angularjs Html5 Routing Enabled : Passing Url Back To Server?"