Leveraging Angular built-in modules
We have already learned that the Angular framework contains a rich collection of first-party libraries that can help us during the development of an Angular application. The functionality of each library is exposed through an Angular module. We need to import these modules into our applications to start using their functionality, as with any other module in Angular. Below are some of the most widely used modules of the Angular framework:
BrowserModule
: This is used to run Angular applications in the browser and must be imported only once in an Angular application.CommonModule
: This contains specific Angular artifacts that support the Angular template syntax and enrich our HTML templates. Typical examples include directives for looping or displaying HTML content conditionally and applying CSS styles in HTML. We will work most of the time with this module in this book.FormsModule
/ReactiveFormsModule
: This allows us to build...