add angular materia to component code example
Example 1: angular npm angular material
npm i @angular/material
Example 2: install angular cdk
npm i @angular/cdk --save
Example 3: ng add @angular/material
npm install --save @angular/material @angular/cdk @angular/animations