Reverse animations


#1

How can i apply reverse animations in $state.go(…) or $location.path(…)

Thanks


#2

You can use $ionicViewSwitcher.nextDirection('back') (or whatever animation you want) before making your call to $state.go:


#3

Great @brandyshea. Works like a charm.


#4

Thank you for this answer!
So I found only one way to do a transition without animation
$ionicViewSwitcher.nextDirection(‘enter’);