angular/angular.js — pull request #8158 by rodyhaddad (2014-07-11 20:41:37+00:00)
Title: fix(select): force visual update in IE

IE9, IE10 and IE11 would always show the first
as
selected when the user moves from a null

to a non-null one in a non-null .
Even though the model was being updated correctly,
visually, the first
always appeared selected.

Setting the `selected` property twice in a row
seems to fix it in all the three versions mentioned above.

Closes #7692

----

I doubt we can actually write tests for this, since it's only visual