Hi Torsten, Assuming from your code, this code is part of another ng-repeat right? (or at least the child of another directive that creates a new scope!) Every repeated item has its own new scope. You can't access a child-scope property from the controller. However, objects are linked by reference, that's why your second solution works.
Does this make sense to you? Regards Sander Elias -- 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.
