Ошибка, при использования класса анимации.
Found the synthetic property @myAnimationTrigger. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application."
Found the synthetic property @myAnimationTrigger. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application."
1. npm install @angular/animations --save
2. systemjs.config.js
'@angular/animations': '/node_modules/@angular/animations/bundles/animations.umd.js',
'@angular/animations/browser': '/node_modules/@angular/animations/bundles/animations-browser.umd.js',
'@angular/platform-browser/animations': '/node_modules/@angular/platform-browser/bundles/platform-browser-animations.umd.js',
3. Добавить в компонент
import {BrowserAnimationsModule} from '@angular/platform-browser/animations'
@NgModule({
imports: [
BrowserAnimationsModule
]
})