I am working on storing the scrollTop value of a vertical menu in my controller so that I can set it up each time I return to the page for persistent scrolling.
Does anyone know how I can achieve this?
This is the code snippet I am currently using:
<nav id="menu" class="menu" ng-style="{'scrollTop': scrollTop+'px'}">
<table>
<!-- etc. -->
</table>
</nav>