I am having troubles with setting the default value of a select box in HTML using AngularJS.
Here\'s my scope variable in the controller:
$scope.sensorRe
Have you tried using ng-options instead of creating separate option elements?
And in your controller
$scope.items = [10, 20, 30, 40, 50, 100]; $scope.sensorReadingsPerPage = $scope.items[2];