I want that my homepage window to be always scrolled all the way up when I refresh the page. I know that chrome saves the scrolling state in the history and changes it on page load. I was wondering if there is a way to do that properly. So far the workaround I found is something like:
angular.element(window).bind('load',function (){
$timeout(function(){
scroller.scrollTo(0, 0, 1000);
},200);
});
Which is really a smooth scroll up transition. If I set the timing to 0, it will be too glitchy. The ideal way would be to overwrite the standard behaviour before page load but I did not find any way to do it...
PS: Please no jQuery solution.