What is the calling order of components when angular js application starts?

 Posted by kgovindarao523-21772 on 10/10/2014 | Category: JavaScript Interview questions | Views: 1871 | Points: 40
Answer:

If app is an angular module,
calling order is
app.config()
app.run()
directive's compile functions (if they are found in the dom)
app.controller()
directive's link functions (again if found)


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response

More Interview Questions by kgovindarao523-21772