I am using Angular for a single page application. Sometimes I have a longer list of items. When the user scrolls down the page and clicks on an item, he goes to the detailed view for that item. If they click the back button in the browser, angular returns them to the list, but it returns to the top of the list.
Usually on a simple HTML page, if you scroll down the page, click on the link and go to another page, if you click the "Back" button in the browser, it will return you back to the scroll point where you were on this page. This is very useful if you are viewing a list of items.
Is there a way for Angular to mimic this behavior so that when using the back button, the user returns to the list and to the same scroll location?
Frank source
share