Spaces:
Running
Running
Download src/app/app-module.ts from pykara/py-trade: direct link, hf CLI and curl.
- Browser
- Download file 1.53 kB
-
https://huggingface.co/spaces/pykara/py-trade/resolve/main/src/app/app-module.ts
- Command line
-
hf download hf://spaces/pykara/py-trade/src/app/app-module.ts
-
curl -L -o app-module.ts https://huggingface.co/spaces/pykara/py-trade/resolve/main/src/app/app-module.ts
1.53 kB
| 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 { } | |