Hello Sander Elias, Thanks for your input.
Now I understand, why it's triggered twice. As you said, I defined controller name in the app.config as well as in the template. I removed in the app.config and it's working fine. Thank you once again. On Monday, 18 May 2015 17:01:18 UTC+5:30, Sander Elias wrote: > > Hi Ravi, > > Angular does not call your controller twice, unless: > > 1. you loaded angular itself more then once > 2. you declared your controller on multiple placed (usually in router > and in template!) > > hope this helps > 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.
