I\'m using UI-router in my app and I\'d like to so a simple \"scrollTo\" to an anchor when the URL/state changes. I don\'t want to load the next step from a template, or load a
You can listen to $locationChangeSuccess, e.g.
$locationChangeSuccess
$rootScope.$on('$locationChangeSuccess', scrollBasedOnLocationChangeEvent);
Basic example: http://angular-ui.github.io/ui-router/site/#/api/ui.router.router.$urlRouter