Hi Komal, This is about change-detection. The setTimeout forces a cycle in the change-detection. Also, it might take some time to load and draw the chart, and your generous time allows for this.
Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/angular/411ddea6-f9ec-46ab-800e-30b6cd47485d%40googlegroups.com.