Hi Namesh, Well, your abc function runs before anything else, however, it seems to fetch it's data async via a ActiveXObject. My guess is that that does not return its data before the rest of the page loads. as a result the data is not available yet as your app starts. Quite a while ago I created a small sample <http://goo.gl/JOk7CK>that show a couple of techniques to pre-load data inside an angular app.
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.
