feat(menuClose): do not show next back button

When navigating to a view from a button/link with the `menuClose`
attribute directive, the back button should not show for the next view.
This commit is contained in:
Adam Bradley
2014-11-12 12:30:11 -06:00
parent baf98a132e
commit ba3eefdf8a
3 changed files with 50 additions and 4 deletions

View File

@@ -28,6 +28,7 @@ IonicModule
// lower priority than navAnimation which allows navTransition
// to override this directive's nextTransition() call
$ionicViewSwitcher.nextTransition('none');
$ionicViewSwitcher.nextShowBack(false);
sideMenuCtrl.close();
}
});