import { NgModule } from '@angular/core' ; import { BrowserAnimationsModule } from '@angular/platform-browser/animations' ; import { MatButtonModule , MatIconModule , MatProgressSpinnerModule , MatSelectModule } from '@angular/material' ; const MATERIAL_MODULES = [ MatButtonModule , MatSelectModule , MatIconModule , MatProgressSpinnerModule ] ; @ NgModule ( { imports : [ BrowserAnimationsModule , ... MATERIAL_MODULES ] , exports : MATERIAL_MODULES } ) export class AppMaterialModule { }