I have a question about scrolling behavior in my application. Currently, when I scroll down and switch to a different state using $state.go('other_template'), the new state loads but the scroll position remains the same as before. Is there a way to configure this so that it automatically scrolls to the top of the page when switching states? Alternatively, is there a way to focus on a specific element like my navbar instead?
Any suggestions or solutions would be greatly appreciated!