import { CommonModule } from '@angular/common'; import { HttpClientModule } from '@angular/common/http'; import { NgModule } from '@angular/core'; import { BrowserModule } from '@angular/platform-browser'; import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; import { AppRoutingModule } from './app-routing.module'; import { AppComponent } from './app.component'; @NgModule({ declarations: [ AppComponent ], imports: [ CommonModule, BrowserModule, BrowserAnimationsModule, HttpClientModule, AppRoutingModule, ], providers: [], bootstrap: [AppComponent] }) export class AppModule { }