19 Using and creating modules
This chapter covers
- Understanding the role of modules in an Angular application
- Understanding the root module
- Creating and using feature modules
In this chapter, I describe the last of the Angular building blocks: modules. In the first part of the chapter, I describe the root module, which every Angular application uses to describe the configuration of the application to Angular. In the second part of the chapter, I describe feature modules, which are used to add structure to an application so that related features can be grouped as a single unit. Table 19.1 puts modules in context.
Table 19.1. Putting modules in context
Question | Answer |
What are they? | Modules provide configuration information ... |
Get Pro Angular 16 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.