Also, you could use one array of users. And each user will contain bool property *isSelected*. I think, it seems easier (If you can use it in your project) http://plnkr.co/edit/cuj1vG?p=preview
вторник, 11 марта 2014 г., 15:06:42 UTC+4 пользователь César Costa написал: > > Hy, Brad, thanks for your response. > > I improved my plunker to reflect better my problem. So, i have two arrays, > one of users and other of selected users. In the select field, i need to > show only not selected users yet. I wrote a filter, called arrayDiff to > return the difference array, comparing by specific property. First time, > when i selected an entry from select field, the implementation runs ok. > But, after this, i got same issues, like problems to select a new user. Try > it: > > http://plnkr.co/edit/xQs2Ej<http://www.google.com/url?q=http%3A%2F%2Fplnkr.co%2Fedit%2FxQs2Ej&sa=D&sntz=1&usg=AFQjCNGzSfyoeUlIJqaOhgt8agB9L26VWA> > > Thanks :) > > > 2014-03-11 4:46 GMT-03:00 Виталий Юрьев <[email protected] <javascript:>>: > >> You could use >> >> *filter:{group:'!group2'}* >> >> http://plnkr.co/edit/91gS57PugrjPD6Hl4CRL?p=preview >> >> >> пятница, 15 марта 2013 г., 1:39:00 UTC+4 пользователь Brad McAlister >> написал: >>> >>> Can I do this? If I have a model and only want to filter out one group >>> of say 3 I can do that by specifying each group I want to see. But what if >>> I just want to exclude only one of group? >>> >>> Plunker: http://plnkr.co/edit/WD3jqwirQ7c2njXzUW6p?p=preview >>> >> -- >> 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] <javascript:>. >> To post to this group, send email to [email protected]<javascript:> >> . >> Visit this group at http://groups.google.com/group/angular. >> For more options, visit https://groups.google.com/d/optout. >> > > -- 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.
