Closed intellix closed 9 years ago
The comment before the return in question says:
// there is no way we can trigger an animation since no styles and
// no classes are being applied which would then trigger a transition
(https://github.com/angular/angular.js/blob/master/src/ngAnimate/animateCss.js#L560)
If that is correct, the documention needs to be updated. @matsko do you know if that is the case?
Excellent find. This PR will fix this issue and we should have it ready for tomorrow's release (1.4.3):
After realising that
keyframe
should actually bekeyframeStyles
for $animateCss I see that passingkeyframeStyles
alone will decide that there's nothing to do and return:closeAndReturnNoopAnimator()
.To get around this I have to do something like: