I use -> $ionicConfigProvider.views.transition(‘platform’);
See: http://ionicframework.com/docs/api/provider/$ionicConfigProvider/
And (in side-menu-template.html) I have tried:
<ion-nav-view name="menuContent" animation="no-animation"></ion-nav-view>
<ion-nav-view name="menuContent" animation="slide-left-right"></ion-nav-view>
<ion-nav-view name="menuContent" animation="slide-right-left"></ion-nav-view>
None of which appeared to override the $ionicConfigProvider.views.transition() setting.
And:
$ionicModal.fromTemplateUrl('templates/login-template.html', {
scope: $scope,
animation: 'slide-in-up',
focusFirstInput: true
}).then(function(modal) {
$scope.loginModal = modal;
});
Which works.
See also: