Dynamic looping of Angular animations. Specify an animation and a number of iterations, and the animation will repeat for that many iterations. You can change the number of iterations programmatically.