This code sample displays properly but does not select the correct option:
<select name="number" ng-model="subscribe.number" ng-required="true">
<option ng-repeat="i in createArrayFromNumber(event.free) track by $index" value="{{ $index + 1 }}">{{ $index + 1 }}</option>
</select>
Here is a JSfiddle to reproduce.
ng-model is supposed to select the correct option or am I supposed to set a selected attribute in the <option> tag?