TutorialLesson 4Free preview
AngularJS Modules
This lesson is part of AngularJS · All levels
Summary
The module is the container for organizing the AngularJS application, where you register controllers, services, filters, and directives. One application can have multiple modules with unique names. With the module, the code becomes more neat and can be broken down into separate files.
Key points
- Modules are created with angular.module('name', [dependence])
- List of dependencies in the form of other module rows required
- The second module without the dependence line is used for the getter
- Controller and service registered on a module
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.