update angular\ code example
Example 1: update angular cli
For updating angular cli type this command :
ng update @angular/cli @angular/core
Example 2: update angular materia;
npm update @angular/material @angular/cdk
For updating angular cli type this command :
ng update @angular/cli @angular/core
npm update @angular/material @angular/cdk