Whenever I click on a link within my AngularJS app, it sometimes refreshes unexpectedly. It seems to happen randomly, whether I use href="/foo"
or ng-href="/foo/{{bar}}"
.
I've noticed that this issue occurs when I navigate between links too quickly, causing the entire app to refresh.
I'm hoping to find a solution that doesn't involve replacing all hrefs with ng-click functions that trigger $location.path('foo');...
Has anyone else experienced this problem? My AngularJS version is 1.4.2
Thank you!