To get the options to display for a select element in angularJS, you need to set ng-options and ng-model.
Eg
<select ng-model=”data” ng-options=”item.name for item in list”>
<option value=””>Select item</option>
</select>
To get the options to display for a select element in angularJS, you need to set ng-options and ng-model.
Eg
<select ng-model=”data” ng-options=”item.name for item in list”>
<option value=””>Select item</option>
</select>