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 { SearchComponent } from './features/discover/search/search.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 { UserCollectionsModalComponent } from './shared/components/modals/list-selection-modal/user-collections-modal.component'; import { FavoritComponent } from './features/favorit/favorit.component'; import { WatchlistComponent } from './features/watchlist/watchlist.component'; @NgModule({ declarations: [ AppComponent, // pages HomeComponent, PopularComponent, TrendingComponent, SearchComponent, LibraryComponent, FavoritComponent, WatchlistComponent, // ? temp shared components MainCardComponent, DynamicEntryListComponent, NotificationPopupComponent, UserCollectionsModalComponent, ], imports: [ CoreModule, CommonModule, AppRoutingModule, BrowserModule, BrowserAnimationsModule, HttpClientModule, ReactiveFormsModule, FormsModule, DragDropModule, ], providers: [DatePipe], bootstrap: [AppComponent], }) export class AppModule {}