Hopefully somebody can help me out here.
i got a problem with going back 2 states.
states are like this
cart.cart -> cart.cases -> progress
cart.cart: the user has to choose 1 or multiple items to add to a case
cart.cases: the user has to choose a case where the items will go to after the did that the will be send to the progress state
progress: the items will be processed (send to server) after everything is completed the user has to go back to cart.cart
What i tried is the following
when user pressed hardware back button or a visuals back button the method back will be called this will do some extra actions and then it will call calling$ionicHistory.go(-2);
this will result in to going to cart.cases