Hi Bhushan,
You have defined a scope with a variable that has a javascript array assigned to it (defined in your controller).
When you update the model with the ng-click handler, the variable in the scope is updated correctly.
So everything is working as expected in terms of AngularJS (as Clint pointed out by dumping the output of the seats).
What else are you expecting your code to do ? What exactly do you mean by updating 'the JSON object' ?
Thanks!
Regards,
Jurgen
Op dinsdag 19 februari 2013 02:44:53 UTC+1 schreef Bhushan N.N het volgende: