Introducing Angular Modules

Learn what Angular modules are and create your first Angular module.

Angular modules are containers for a particular block of code that adheres to the same functionality. An Angular module is dedicated to an application domain, such as orders or customers for an e-shop application, or a user workflow, such as order checkout or user registration. Generally, it addresses a particular set of capabilities that an application can have.

The main advantage of the Angular module architecture is that it scales better and is easier to test. If we think of a module as a particular feature of an application, it allows us to organize our Angular application so that we can develop a particular piece of functionality independently of the others. It dramatically enhances team management in large organizations where each development team can work on a separate feature. Features can gradually be deployed, ensuring the seamless operation of our application.

Get hands-on with 1200+ tech skills courses.