install flex in angular code example
Example 1: import angular flex layout
npm install --save @angular/flex-layout @angular/cdk
Example 2: import angular flex layout
import { FlexLayoutModule } from '@angular/flex-layout';
@NgModule({
imports: [ FlexLayoutModule ],
});