angular/angular.js — pull request #8958 by matsko (2014-09-05 19:55:03+00:00)
Title: fix($animate): abort class-based animations if the element is removed during digest

Prior to this fix, if the element is removed before the digest kicks off then it leads
to an error when a class based animation is run. This fix ensures that the animation will
not run at all if the element does not have a parent element.

Closes #8796