Spaces:
Running
Running
| import { NgModule, provideBrowserGlobalErrorListeners } from '@angular/core'; | |
| import { BrowserModule } from '@angular/platform-browser'; | |
| import { AppRoutingModule } from './app-routing-module'; | |
| import { App } from './app'; | |
| import { Homepage } from './homepage/homepage'; | |
| import { CommonModule } from '@angular/common'; | |
| import { ReactiveFormsModule } from '@angular/forms'; | |
| import { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http'; | |
| import { FormsModule } from '@angular/forms'; | |
| import { MatFormFieldModule } from '@angular/material/form-field'; | |
| import { MatInputModule } from '@angular/material/input'; | |
| import { MarkdownModule } from 'ngx-markdown'; | |
| import { SignupModal } from './signup-modal/signup-modal'; | |
| import { SigninModal } from './signin-modal/signin-modal'; | |
| import { AuthInterceptor } from './auth/auth.interceptor'; | |
| import { DashboardComponent } from './dashboard/dashboard.component'; | |
| import { CommunityComponent } from './community/community.component'; | |
| ({ | |
| declarations: [ | |
| App, | |
| Homepage, | |
| ], | |
| imports: [ | |
| BrowserModule, | |
| AppRoutingModule, | |
| CommonModule, | |
| ReactiveFormsModule, | |
| HttpClientModule, | |
| FormsModule, | |
| MatFormFieldModule, | |
| MatInputModule, | |
| MarkdownModule.forRoot(), | |
| SignupModal, | |
| SigninModal, | |
| DashboardComponent, | |
| CommunityComponent | |
| ], | |
| providers: [ | |
| provideBrowserGlobalErrorListeners(), | |
| { provide: HTTP_INTERCEPTORS, useClass: AuthInterceptor, multi: true } | |
| ], | |
| bootstrap: [App] | |
| }) | |
| export class AppModule { } | |