Hi Yashwanth, I have looked into your example. It's very hard to read trough because all of the nesting that is going on there. That is also the rout cause of your issue. When things are nested this deep, it becomes very hard to reason on what happens when. This causes confusion. There are even names for this. In the angular context that name is 'scope soup' and for HTML it's called 'divitus'. If you want to figure out more about this, google those terms and you will find a wealth of information. The best way to solve your issue in this case, is switch to the 'controller as' syntax. When you do this, you problem will disappear, or at least will become very obvious. A good guide you can follow, that also explains why you should use the 'controller as' syntax is John Papa's styleguide <https://github.com/johnpapa/angularjs-styleguide>
Hope this helps you a bit, 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.
