I am using the sidemenu seed project and have issues with the back navigation behaviour. I was expecting every view from the side menu items to act as a root view. So no matter in which one of the root views the user is, once she clicks the hardware back button (android device), the app closes. What currently happens is navigating back to the other side-menu pages previously opened and exiting only once the history stack is empty. Using
nav-clear menu-close on each menu item did not solve the issue. Neither
$ionicHistory.nextViewOptions did. Any ideas is this behaviour “by design” and how to make it work as expected? After 3 days of researching I still haven’t found a working solution.
Thank you in advance!