Check out a live demo here
View the source code on GitHub here
Angular 1.2.9 brought in DOM callbacks with the introduction of $animate:before
and $animate:after
events triggered during animations. However, it seems that the $animate:after
event is triggered immediately after the $animate:before
event rather than after the animation has been completed.
Whether using CSS or JS for animation (here), there doesn't seem to be any difference in behavior.
My question is: Is this behavior intentional for DOM callbacks?