I'm using ui-router and want to scroll to the top of the page upon a state change. The docs say to call uiViewScrollProvider.useAnchorScroll() but I don't know where to call it? :
AngularJS Routing using UI-Router with Example - Krazytech
GitHub - ui-router/visualizer: UI-Router state visualizer and transition visualizer
Angular 2 Series - Part 4: Component Router In-Depth
GitHub - aitboudad/ng2: UI-Router for Angular 2: State-based routing for Angular 2
Migrating a UI-Router app to Angular 2
Component Based Architecture In AngularJs Using UI-Router | Engati