Hi
For some reason the $ionicHistory.nextViewOptions doesn’t work anymore … I want to go to an other state, but without a back button … for example
$ionicHistory.nextViewOptions({
disableBack: true
});
$state.go('app.login')
When I have a button wich tries to execute that code, the simulator (and on device) just doesn’t do a thing.
when I use
$state.go('app.login');
it will go to the right state, but with a back button.
I’ve also tried
<ion-view view-title='login' cache-view="false">
And
cache: false,
in my route $stateProvider