Hi Pandya look at this: http://plnkr.co/edit/4bqrmppm4F2neZTOFn1B?p=preview<http://plnkr.co/edit/4bqrmppm4F2neZTOFn1B?p=preview>
In the processes is a new scope created. In your version, the value get's set on that scope, and not where you need it. This is the 'always use a dot' rule ;) if you look around. and use that for a search, you will find quite a lot of good explanations about it. So there is little use to repeat one here! 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/groups/opt_out.
