Hi Yogesh,

You really should switch to the controllerAs 
<http://www.johnpapa.net/do-you-like-your-angular-controllers-with-or-without-sugar/>syntax.
 
(also you should read this part 
<https://github.com/johnpapa/angular-styleguide#controllers> in the 
styleguide <https://github.com/johnpapa/angular-styleguide>)This will make 
this kind of problems disappear by default.
What happens is that every row in your repeater gets its own new $scope, 
but all of those are part of the containing $scope. Your `Item.whatever` is 
part of that containing/parent scope. So, you are displaying the same data 
over and over again.

Regards
Sander

-- 
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