I have two select boxes like below
<select ng-model="secondCountry" id="secondCountry" required class="form-control" >
<option ng-value="0">Select 2nd Country</option>
<option >india</option>
<option >usa</option>
<option >Japan</option>
</select>
<select ng-model="thridCountry" id="thridCountry" required class="form-control" >
<option ng-value="0">Select 3rd Country</option>
<option >india</option>
<option >usa</option>
<option >Japan</option>
</select>
My Goal is to disable or hide the option is selected on other that is , If i select the option India from first select box then I dont need to select the Option India from the second select box.
NOTE : Iam loading the options by using ng-repeat
I tried the ng-disabled="secondCountry" Property but this disables the entire select box.
How to manage this ???