angular-mobile-nav
angular-mobile-nav copied to clipboard
experimental implementation of page stack
I had difficulty of losing any dynamic content after new page is pushed. Because this library doesn't manage pages with stack, it simply replace mobile-view
with new page.
By adding simple array variable containing pushed DOM information, now we can remember all the pages pushed in this navigation bar.
I know this implementation is creepy and buggy, but hope it'll inspire other guys to improve this structure. Thanks.
Niveau approach, you should Limit the Stack in Order to prevent memory wasting
Nice approach I mean :)
@wzr1337 Thank you. I found that angular ui provides similar stack structure in $modal
service. It's worth to take a look.