@reedrichards wrote:
Hi,
Is there a way to exclude a route from the history stack?
Example: (where -> = state.go)
route1 -> route2 -> route3 -> route2
If I then click the "Back" button on the "route2" I want to be forwarded to "route1" and not to be forwarded back to the route3.
Tried:
$ionicHistory.nextViewOptions({
disableBack: true
});no success
Tried:
$state.go('route2', null, { location: 'replace' });
no success
Any ideas?
Thx in advance
Posts: 1
Participants: 1