I am trying to add a value to combobox with dynamic data. The problem is the value doesn't show in my combobox as selected.
Here's my html
<label>Veuillez choisir l'outil de référence :</label>
<select class="form-control"
ng-model="refouti"
ng-change="getversion()">
<option value="" selected>
Tous
</option>
<option ng-repeat="o in outills"
value={{o.id}}>
{{o.nomref}}
</option>
</select>
In my controller when I want to add value to refouti
like this:
$scope.refouti="OPCOM";
i get something like this
Thanks to any support.