Change animation on button click or location.url()


#1

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?

INDEX.HTML

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

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

Set different animation/transition for each page
#2

Short answer: Not yet.

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

For more information:

and: