I've got declared a var called total = 10 in my controller. Now I want to show 10.
1 2 3 4 5 6 etc....
in my combobox. How could I do this I already tried this:
<div class="form-group">
<label for="sel1">Aantal deelnemers:</label>
<select class="form-control" id="sel1" ng-model="homeCtrl.selectedField"ng-options="for p in homeCtrl.totalFields"></select>
</div>