on the angularJs official web site in ngRoute section they have mentioned two types of url supports hashbang and HTML5 pushstate. i want to know the difference between both hashbang and pushstate?
Asked
Active
Viewed 56 times
0
-
pushstate allows you to change the “real”, full URL displayed in the browser address bar, whereas the hashbang method only changes the hash part of the URL (since that doesn’t navigate to a different page, as changing the full address with pre-HTML5 History API methods would.) – CBroe Jul 15 '15 at 10:11
-
http://diveintohtml5.info/history.html – Claies Jul 15 '15 at 10:13
-
I have written about HTML5Mode on multiple articles, but I think the answer in the marked duplicate has the most clear explanation. – Claies Jul 15 '15 at 10:20