Latest AngularJS version is out. 1.2.13. 1.2.13 romantic-transclusion has been released. Highlights: If you re doing animations you might want to take a look into the code changes involved to keep things running smooothly.
- $animate: ensure $animate doesn’t break natural CSS transitions (4f84f6b3, #6019)
due to 4f84f6b3, ngClass and will now call the
setClassanimation callback instead of addClass / removeClass when both a addClass/removeClass operation is being executed on the element during the animation.
Please include the setClass animation callback as well as addClass and removeClass within your JS animations to work with ngClass and directives.
due to cf5e463a, Both the
$animate:afterDOM events must be now registered prior to the $animate operation taking place. The
$animate:closeevent can be registered anytime afterwards.
DOM callbacks used to fired for each and every animation operation that occurs within the $animate service provided in the ngAnimate module. This may end up slowing down an application if 100s of elements are being inserted into the page. Therefore after this change callbacks are only fired if registered on the element being animated.