Complete the code to import BrowserAnimationsModule in the Angular app module.
import { [1] } from '@angular/platform-browser/animations';
You need to import BrowserAnimationsModule from @angular/platform-browser/animations to enable animations.
Complete the code to add BrowserAnimationsModule to the imports array in @NgModule.
@NgModule({
imports: [[1]],
})To enable animations, BrowserAnimationsModule must be added to the imports array of your Angular module.
Fix the error in the import statement for BrowserAnimationsModule.
import { BrowserAnimationsModule } from '[1]';
The correct package to import BrowserAnimationsModule from is @angular/platform-browser/animations.
Fill both blanks to complete the Angular module setup with BrowserAnimationsModule and AppComponent.
@NgModule({
imports: [[1]],
declarations: [[2]],
bootstrap: [AppComponent]
})You must import BrowserAnimationsModule and declare AppComponent in your module.
Fill all three blanks to complete the Angular module with BrowserAnimationsModule, AppComponent, and HttpClientModule.
@NgModule({
imports: [[1], [2]],
declarations: [[3]],
bootstrap: [AppComponent]
})To set up the module properly, import BrowserAnimationsModule and HttpClientModule, and declare AppComponent.