当在选项上使用angular指令ng-selected时,绑定的模型直到手动更改选择后才会更新。这是按设计吗?
<div ng-app ng-init="colors=['red', 'yellow', 'blue']">
<select ng-model=selectedElement>
<option ng-repeat="color in colors" value="{{color}}" ng-selected="$last">{{color}}</option>
</select>
selectedElement: {{ selectedElement }}
</div>