angular/angular.js — pull request #5986 by joeenzminger (2014-01-25 22:47:14+00:00)
Title: feat(form) - validating, working, and idle states for forms and form elements.

Server validation and submission are asynchronous. It is useful in markup to be able to enable or disable form elements (such as working animations, submit buttons, etc.) while these asynchronous operations are in progress. The changes in this pull request add methods to form and input that allow directives that begin asynchronous actions to set form and input variables $validating, $working, and $idle, as well as adding the CSS classes ng-idle, ng-working, and ng-validating when these actions are in progress.