![]() |
VOOZH | about |
Angular Material is a UI component library that is developed by the Angular team to build design components for desktop and mobile web applications. In order to install it, we need to have angular installed in our project, once you have it you can enter the below command and can download it.
The main use of the matBadge and assign a value in order to display numbers or status over text or images or icons. We can relate to them as a notification icon number indicator.
Installation syntax:
ng add @angular/material
Approach:
Code Implementation:
app.module.ts:
app.component.html:
Output: