O'Reilly logo
  • Sam Ghanekar thinks this is interesting:

The Module.config and Module.run methods register functions that are invoked at key moments in the life cycle of an AngularJS app. A function passed to the config method is invoked when the current module has been loaded, and a function passed to the run method is invoked when all modules have been loaded.


Cover of Pro AngularJS


Module life cycle events