Collection-repeat : issue to read selected item within controller

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.

@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

1 Like

@shashikant
Thank you very much. Issue is resolved.

1 Like