Looking at Modules and Dependency Injection

As you begin writing AngularJS applications, it is vital that you understand the basics of modules and dependency injection in the AngularJS world. This seems to be a difficult concept to grasp and implement correctly for some, especially those coming from a more open, anything-goes JavaScript background.

This section introduces you to the concepts behind AngularJS modules and dependency injection. Understanding how modules utilize dependency injection to access functionality in other modules will make it easier for you to implement your code inside the AngularJS framework.

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.