angular/angular.js — pull request #4612 by matsko (2013-10-23 20:49:31+00:00)
Title: fix($animate): skip unnecessary addClass/removeClass animations

Skip addClass animations if the element already contains the class that is being
added to element. Also skip removeClass animations if the element does not contain
the class that is being removed.

Closes #4401
Closes #2332