Change animation on button click or location.url()


Is it possible to change the animation from slide-left-right to slide-right-left upon clicking a button or using location.url(path)??

I am not using the Nav back button, because the navigation of my app allows users to go to different pages, so i provide buttons that go to the correct path (using the stateProvider). When some of these buttons are pressed, i want it too look like the user is going back, thus want the animation to go from right to left.

Can this be done?


<body ng-app="m2iAnywhere">
<ion-nav-bar class="nav-title-slide-ios7 bar-positive">

<ion-nav-view animation="slide-left-right">
    <!-- Center content -->

Set different animation/transition for each page

Short answer: Not yet.

It’s in the works though and should be landing soon.

For more information: