Create CustomMaterialModule for Application
Let's explore why we need 'CustomMaterialModule' to import modules from the Angular Material library and see some of the Angular Material components we will use in our application.
Now, while our application is modularized and well structured, it doesn’t look that good. We’re going to use Angular Material to make the application look far more polished and presentable than it is now.
In order to add Angular Material, we need to start adding in the Modules from the Angular Material library that we added back in the Getting Started with the Angular CLI chapter. By doing this, we will see how the use of Modules can quickly add a completely new design to our application.
Why is CustomMaterialModule
needed?
Earlier, when we broke down the list of modules for this application, one of the modules we discussed was the CustomMaterialModule
. This module allows us to add modules from the Angular Material library into one module of our application. Then, we will make this custom module accessible throughout our application.