[ AngularJS ] .config, .run

Steps

  1. app.config() // config is a config
  2. app.run() [ usually be used for authorization ]
  3. directive’s compile functions (if they are found in the dom)
  4. app.controller()
  5. directive’s link functions (again, if found)

ref : http://stackoverflow.com/questions/20663076/angularjs-app-run-documentation

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s