Temporary fix for $anchorScroll

See angular/angular.js#2936