Collection-repeat : issue to read selected item within controller


#1

I was using collection repeat to iterate large list. My design is to use selected item within same controller so I was passing selected value by function with in controller. This was working on beta.6 build. Now I have upgrade to beta.9 and it is not working. I am not able to see item in my function.

I have created code pan demo for this.

If you use beta.6 it will show proper value.
Please let me know if I am doing something wrong.


#2

@kamleshkoringa
yes, Your are doing something wrong.
ng-click=“petDetail(’{{pet.id}}’,’{{pet.firstName}}’)” replace to ng-click="petDetail(pet.id,pet.firstName)"
Issue is resolved…
Check in code pen.
http://codepen.io/shashikant86/pen/eihgc


#3

@shashikant
Thank you very much. Issue is resolved.