Applying Configuration and Run Blocks to Modules

Now that you understand the relationship between modules and dependency injection, you need to look at the process of implementing AngularJS modules. AngularJS modules are implemented in two phases: the configuration phase and the run phase. The following sections discuss these phases and the basic process of adding providers to an AngularJS module.

Get Learning AngularJS now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.