import { NgModule } from '@angular/core'; import { BrowserModule } from '@angular/platform-browser'; import { AppRoutingModule } from './app-routing.module'; import { AppComponent } from './app.component'; import { HttpClientModule } from '@angular/common/http'; import { FormsModule, ReactiveFormsModule } from '@angular/forms'; import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; import { DragDropModule } from '@angular/cdk/drag-drop'; import { CoreModule } from './core/core.module'; import { CommonModule, DatePipe } from '@angular/common'; import { HomeComponent } from './features/home/home.component'; import { PopularComponent } from './features/discover/popular/popular.component'; import { TrendingComponent } from './features/discover/trending/trending.component'; import { SearchPageComponent } from './features/discover/search-page/search-page.component'; import { LibraryComponent } from './features/library/library.component'; import { DynamicEntryListComponent } from './shared/components/lists/dynamic-entry-list/dynamic-entry-list.component'; import { NotificationPopupComponent } from './shared/components/notification-popup/notification-popup.component'; import { MainCardComponent } from './shared/components/cards/main-card/main-card.component'; import { FavoritComponent } from './features/favorit/favorit.component'; import { WatchlistComponent } from './features/watchlist/watchlist.component'; import { SharedModule } from './shared/shared.module'; import { ToastrModule } from 'ngx-toastr'; @NgModule({ imports: [ CommonModule, CoreModule, SharedModule, AppRoutingModule, BrowserModule, BrowserAnimationsModule, FormsModule, ReactiveFormsModule, HttpClientModule, DragDropModule, // ? downloaded ToastrModule.forRoot(), ], declarations: [ AppComponent, // pages HomeComponent, PopularComponent, TrendingComponent, SearchPageComponent, LibraryComponent, FavoritComponent, WatchlistComponent, // ? temp shared components MainCardComponent, DynamicEntryListComponent, NotificationPopupComponent, ], providers: [DatePipe], bootstrap: [AppComponent], }) export class AppModule {}