<select ng-click="getIndex($index)" size="14" ng-model="playlist.fileSelected" ng-options="saveFile for saveFile in playlist.playlist"></select>
When I try to access $index, it shows up as undefined. Is there a way to retrieve the index of the select listbox?