When i change the state using $state.go
, the history change is automagically updated. i would like being able to change a state avoinding the registration of this change in the history.
I have looked at $ionicHistory
but i couldn't find my happiness.
I perform that using that $ionicHistory
service : http://ionicframework.com/docs/api/service/$ionicHistory/
$ionicHistory.nextViewOptions({
disableBack: true
});
Then you can normally do your $state.go