Ionic override all BACK button behaviour for specific controller

It is possible to override both buttons in your controller, without any changes the the HTML code. To summarise: Soft navigation bar button – override $rootScope.$ionicGoBack() Hard Android button – use $ionicPlatform.registerBackButtonAction() Detailed explanations below. The solution for overriding the soft navigation bar BACK button comes from understanding what Ionic does when that button is … Read more