I am new to Angular. I want to have a drop down with ng-options.
I have a end point which is returning the back end data. For example my back end data has 1, 2 , 3 ,4, 5. While displaying with the ng-options I don't want to display the first value.
(i.e I want in my drop down box only 2,3,4,5)
I have the following code:
<select class="form-control" ng-options="num as num for num in numbers id="no_num" ng-model="no.number" required> </select>