Ok so I have this table which lists all employees and their supervisors in a dropdown. (the first two options in the drop down are always there the other are there depending weather or not they have been selected as a supervisor in the Supervisor Column)
Now the issue I'm having is someone can't be selected as his/her own supervisor
on the HTML the table rows are simply created using
ng-repeat="employeeInfo in employees"
and the Drop down select options are loaded like this
ng-options="supervisor.id as (supervisor.name + ' ' + supervisor.lastname + ' ' + supervisor.id) for supervisor in supervisorList"
how do I exclude the person himself in the drop down of available supervisors ?
