I've got a div element with ng-view, that works perfectly fine. I've been trying to do a simple slide using CSS Transition, and it seems like all of my animation efforts are useless, and the elements just appear/disappear in a blink. Tried both AngularJS 1.1.4 and 1.1.5, it doesn't help. Ideas anyone?
Here's the code:
home.html
<div ng-view ng-animate="'animate'"></div> animations.css
.animate-enter, .animate-leave { -webkit-transition:all 2s ease; -moz-transition:all 2s ease; -o-transition:all 2s ease; transition:all 2s ease; } .animate-enter { left: -100%; } .animate-enter.animate-enter-active { left: 0; } .animate-leave { left: 0; } .animate-leave.animate-leave-active { left: 100%; }