Well I want the select to start with a selected value, this value already comes in my ng-model:
<label class="format">SELECIONE:</label>
<span class="format">
<select name="grupo" id="grupo" data-ng-model="vm.grupoSelecionado.codigo">
<option data-ng-repeat="grupo in vm.listaGrupos" value="{{ grupo.codigo }}">{{grupo.descricao}}</option>
</select>
</span>
That is, my vm.groupSelected.code already comes my selected value, the same is within the list of ng-repeat, how to start it loaded?