I am having this issue with a nested state.
I want the back button to be able to take the user to the parent state if they land on the app/page or the page gets reloaded. I know I can force show the back button but there is no history attached to it.
How can I force show and force the state of the back button to the parent?
Will any settings here work?
$scope.$on('$ionicView.beforeEnter', function (event, viewData) {
viewData.enableBack = true;
});
Any help would be greatly appreciated!
Thanks!