Trying to get a simple binding going with a html select and a scope variable but the select is not populating with the right value.
<select ng-model="noOfReps" name="reps" id="reps">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
</select>
This is what I have in my controller
$scope.noOfReps = 2;
But the result is a dropdown which has all the values 1 through 6 but nothing is selected by default.