I'm making a playlist option in the project I'm working on and I'm trying to get a dropdown for all the videos in the list.
which is easy
<select ng-options="vid.Id for vid in playList.Videos track by video.Id" ng-model="selected" class="browser-default"></select>
but this shows a drop down of the Id's, but now I want it to show the position in the list +1;
So when playing video 5/15 the drop down should show 1 to 15 (so not 0 to 14) and 5 should be selected.
any idea on how to accomplish this?