install @angular/animations code example Example: angular/animations install npm npm install @angular/animations@latest --save