Angular Unexpected synthetic property @fadeAnimation found

Error on an Angular component:

ERROR Error: Unexpected synthetic property @fadeAnimation found. 
Please make sure that:
  - Either `BrowserAnimationsModule` or `NoopAnimationsModule` 
are imported in your application.
  - There is corresponding configuration for the animation 
named `@fadeAnimation` defined in the `animations` field 
of the `@Component` decorator

Solution:

Remove the @fadeAnimation if it is not in use in your project. Example:

 <div @fadeAnimation *ngIf="isLoaded">

To fix that error remove @fadeAnimation from the html.