vojtajina/angular.js — comment on commit b2b37662ca20d292e54e9bb0f824e88335004822
File: src/service/megaScroller.js line 19
By mhevery:

you can rewrite as
$rootScope.$watch($location.hash, function(){ ...});