import {BrowserAnimationsModule} from '@angular/platform-browser/animations'; imports: [ BrowserAnimationsModule ]