I get my data from the server and show it in a select drop down.
<select ng-model="selectedProject" ng-options="proj as proj.Name for proj in projects" ng-change="onSelectChange()"></select>
Is there a way to not show a specific proj
? For example,
if (proj.Id != currentProject.Id)
The drop down basically shows all the projects, and I want to show all the projects except the current one. Is this possible with the <select>
? Or do I need to use ng-repeat?