import { NgModule } from '@angular/core'; import { BrowserModule } from '@angular/platform-browser'; import { HttpClientModule } from '@angular/common/http'; import { AppComponent } from './app.component'; import { HomeComponent } from './pages/home/home.component'; import { AboutComponent } from './pages/about/about.component'; import { BoardsComponent } from './pages/SingleThread/boards.component'; import { NotFoundComponent } from './pages/not-found/not-found.component'; import { ApiChatService } from './services/api-chat.service'; import { FormsModule } from '@angular/forms'; import { PostComponent } from './pages/SingleThread/post/post.component' import { ThreadsComponent } from './pages/BoardThreads/threads.component'; import { OPComponent } from './pages/BoardThreads/op/op.component'; import { AppRoutingModule } from './app-routing.module'; import { MatSidenavModule } from "@angular/material/sidenav"; import { BrowserAnimationsModule } from "@angular/platform-browser/animations"; import { NavBarComponent } from './pages/nav-bar/nav-bar.component'; import { SendFormComponent } from './pages/send-form/send-form.component'; import { SnowComponent } from './pages/snow/snow.component'; @NgModule({ declarations: [ AppComponent, HomeComponent, AboutComponent, BoardsComponent, NotFoundComponent, PostComponent, ThreadsComponent, OPComponent, NavBarComponent, SendFormComponent, SnowComponent ], imports: [ BrowserModule, HttpClientModule, FormsModule, AppRoutingModule, MatSidenavModule, BrowserAnimationsModule ], providers: [ ApiChatService ], bootstrap: [AppComponent] }) export class AppModule { }