This looks like a straight forward thing to do, but, somehow, it does not work.
All I am trying to do is,
- a main page with a side menu
- Side menu has an item that navigates to another template
- The template has a button to go back to the main menu state.
- After clicking the button, the main page comes back. But the hamburger menu icons dont re-appear.
There is a pen here: http://codepen.io/sanga/pen/XmwMWL
In the pen:
- Open the side menu
- Select “Upload”
- Hit “Back” on the Upload screen
- Side menu does not appear on main screen
I tried $timeout wrap. Did not help. What am I missing ?
Thanks,
Sanga