Hide back button in specific page


#1

I have this in my index.html page.


I’d like to always hide this back button is a specific view.

My problem:
After processing something, I use $state.go(‘tabs.timesheet’) to go back to the main page. At this point the back button will show up when it should not.

Is there any workaround for this?


#2

You need to disable back button on next view change

$ionicViewService.nextViewOptions({
 disableBack: true
});
$state.go('abs.timesheet');