Remove a view from back history


#1

It is possible to remove a specific view from back history, so by pressing the back button i go two view back?
I think this would be an important feature in ionic framework.

Thanks


#2

http://ionicframework.com/docs/api/service/$ionicHistory/

goBack([backCount])

To go back two views you would use -2.

$ionicHistory.goBack(-2)

#3

To use this solution i need to modify the back button behaviour then…