Hi Tripuramallu, Have a look at the resolve part <https://docs.angularjs.org/api/ngRoute/provider/$routeProvider>of the router. There is also a nice Egghead video <https://egghead.io/lessons/angularjs-resolve> about it(I'm not sure if this is a free one!) If that does not answer your question, build a plunk illustrating your problem, and someone will surely help you.
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 angular+unsubscr...@googlegroups.com. To post to this group, send email to angular@googlegroups.com. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.