Posts by Murillo Fernandes • 11 points
1 post
-
1
votes1
answer259
viewsA: How do I keep the browser scrollbar at the top by loading a new angled page?
With ngRouter or uiRouter, you can monitor route changes. And with each change or in certain changes, apply scroll to position 0. Example: (for uiRouter) angular.module('app').run(['$rootScope',…