无法确定如何使用此复选框绑定对象的属性。<selectng-model="currentEmployee.FirstName" ng-options="employee.EmployeeId as employee.FirstName foremployee in employees" ng-change="change(employee)">
<option value="&
我有一个在listOfThings上迭代的选择框,模型有一个currentThing属性。复选框将正确绑定到currentThing。但是,我无法让ng-init将listOfThings中的默认值设置为currentThing。下面没有设置默认值。<selectng-options = "someThing as someThing.name for someThing in controller.listOfThings"ng</