December 2017
Beginner
372 pages
10h 32m
English
In large-scale applications, we want to have multiple modules, with each module enclosing some related functionalities. Modules help us organize our code better and provide more reuse.
Angular CLI provides us with a command to generate a module as shown here:
ng generate module login
This command will create a new folder named login and generate a module in it with the name login.module.ts. In the output, you will see a similar warning to the one we saw when generating the services.
Read now
Unlock full access