Using 1.3 beta version I am including angular-animate.js and adding ngAnimate to my module.
I have a html div element as below:
<div class='box-show' ng-show='isHidden'>test</div>
And in my css:
.box-show {
-webkit-transition:0.5s linear all;
transition:0.5s linear all;
opacity:1;
}
.box-show.ng-hide {
opacity:0;
}
.box-show.ng-hide-add, .box-show.ng-hide-remove {
display:block!important;
}
I am checking the chrome inspector and can not see .ng-hide-add or .ng-hide-remove classes being added. Only .ng-hide is being added or removed. The document says we need to add webkit-transition to the element that we want to animate for angular adds the necessary animation classes. And I have added that so what can be the problem? ( The above css only animates when the box is showing )