我正在尝试设置所选标签,以便当用户尝试编辑他或她的个人资料时,数据会预设为当前数据。它会创建一个列表,但不会创建所选的列表。有人能告诉我哪里错了吗?
<b>Education:</b> <select class="form-control"
ng-model="currentUser.education">
<option ng-repeat="education in educations" value = "{{education.educationId}}"
ng-selected ="{{education.educationName == currentUser.educationName}}">{{education.educationName}}</option>
</select>