Hi all!
I'm new in angularjs and i'm learning by my self, i have a problem with
ng-repeat.
I have 2 tables,
the first shows data and have a ng-click event for each row, when you click
in a row, it pass the data (the element 'otherVal' of the object, i don't
need the entire object ) of the selected element to a factory object.
the second table shows the data of the factory object.
the problem is that when the data of the factory object have 2 elements or
more, the ng-repeat only shows the first element.
i send a file with the code to try =)
Thanks!
--
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.
Title: ng-repeat doesn't work
| #1 | #2 |
| {{data.name}} |
{{data.value}} |
| data | Len. |
| {{client[$index].subName}} |
long:{{client.length}} |