angular/angular.js — pull request #5337 by caitp (2013-12-09 20:08:16+00:00)
Title: fix(select): ngRequired invalidate when modelValue is empty array

When `multiple` attribute is set, and the model value is an empty array, invalidate the form control.

TODO: ngModelWatch should probably do a bit more work to see if the model value is equal or not. (see comment in selectSpec.js)

Fixes #2365