I don't know how to change this, but whenever I use my select option, it always goes to null.
This is my HTML code,
<select type="number" class="footer" id="chooser"
ng-change="selectchange(selectedPage)"
ng-model="selectedPage" min="1"
ng-options="x for x in pages">
<option value="" selected="false" hidden>
</select>
Is there any reason it changes to null. Because when it changes it sends another request to angular.
What is the problem here, and how to solve it?



selectchangeandconsole.logstatements.