Prevent multiple select to have the same value
问题 What it should do I want to prevent the user to be able to select twice the same option in multiple <select> having the same options. What it is doing When selecting a value on the first dropdown, the second won't have the option visible (great). But when selecting a value on the second dropdown (and the first one already have one), it's deleting all the selections. I end up with a selection [null, null] . Am I missing something? JSFiddle var app = angular.module('App', []); app.controller(