<div data-ng-repeat="practice in practiceList">
<select data-ng-model="myPractice"
data-ng-options="practice.combinedAreaRank for practice in practiceareasApi"
data-ng-click="clearField()"
data-ng-disabled="!myOffice">
<option value="">Select</option>
</select>
</div>


I have the following code. and I want to have for every repeat, the name in 
ng-model to change, so I whenever I will generate a new select drop-down, I 
could check for some value in the previous one.
what I want if to generate 3 drop-down, and all of 3 will be connected to 
the same json, but when I select some value in the first one, the value to 
be deleted in the second one, and so forth.
Could I do this?
I could hard-code everything but I want to do it inside a of ng-repeat if 
it's possible
>From what I've seen on the internet, you could generate your own directive, 
or some other solution, but they are not good. I want also to be kind of a 
best practice, and not a hack.

Thank you!

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to