$ionicHistory.nextViewOptions not working in IOS


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

           disableBack: true


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


it will go to the right state, but with a back button.

I’ve also tried

<ion-view view-title='login' cache-view="false">


cache: false,

in my route $stateProvider