Ionic Framework page transition direction

Just spent a while figuring this out - the solution can be found by looking in the code for the nav-direction directive. In short:

$ionicViewSwitcher.nextDirection('back')

Sets the next view direction progmatically to back.

2 Likes