Ionic close underlying views -


i've developed ionic application works online shop. app opens views (in flow) start -> articles -> cart -> checkout (-> credit card payment) -> order confirmation

when user presses button in order confirmation view, ionic goes checkout (or credit card payment) view. makes sense ionic, user it's weird go checkout when ordered. how can close cart/checkout/cc-payment view open underneath confirmation, when pressing back-button, user taken articles?

you can use $ionichistory service.

with can call $ionichistory.goback(-2) in controller take 2 views instead of default 1 view.


Comments