O'Reilly logo

Pro Angular, Second Edition by Adam Freeman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

© Adam Freeman 2017

Adam Freeman, Pro Angular, 10.1007/978-1-4842-2307-9_21

21. Using and Creating Modules

Adam Freeman

(1)MILTON KEYNES MK6 3PA, UK

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 21-1 puts modules in context.

Table 21-1. Putting Modules in Context

Question

Answer

What are they?

Modules provide configuration information to Angular.

Why are they useful?

The root module describes ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required