animation with ng-animate for page transitions