I'm trying to set the default option in a select element in an Angular app. Below is what I've tried, but my select box is empty:
<select ng-init="selectedMax = game.player.max_points"
ng-options="option for option in game.maxOptions"
ng-model="selectedMax"
ng-change="changeMax()"></select>
Basically I want my default option to be game.player.max_points
which is a value set by my controller on initiation.