Custom back event with slide animation


#1

I am having custom back buttons which does not use the history !
I am unable to get the slide animation to go back in custom back events !
Any idea how to do it ?


#2

The “back.animation” is handled over the $ionicView history.
If you manipulate the this you will get the back-transition-animation.

search for the $ionicViewService in the github sourcecode.
It is an undocumented part. Please be careful with that :wink:

https://github.com/driftyco/ionic/blob/master/js/angular/service/viewService.js