I have app with sidebar menu. I am on second page and I am calling controller function which redirect me to first page using:
$state.go(\'app.home\');
You can set nextViewOptions before $state.go('Yourstate'). Like In your controller, you can write,
$ionicHistory.nextViewOptions({ disableBack: true }); $state.go('app.home');
So for that transition, it will clear the history stack and sets next view as root of the history stack.