angular/angular.js — pull request #8568 by matsko (2014-08-11 17:55:02+00:00)
Title: fix(form): ensure concurrent animations use setClass

When addClass and removeClass are called in parallel it may
cause follow-up animations to get blocked. This fix ensures
that the validity state CSS classes are applied at the same
time via $animate.setClass.

Closes #8166