mempool/frontend/src/app/app.module.ts

58 lines
2.2 KiB
TypeScript
Raw Normal View History

2019-07-21 17:59:47 +03:00
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AppComponent } from './app.component';
import { BlockchainComponent } from './blockchain/blockchain.component';
import { AppRoutingModule } from './app-routing.module';
import { SharedModule } from './shared/shared.module';
import { MemPoolService } from './services/mem-pool.service';
import { HttpClientModule } from '@angular/common/http';
import { FooterComponent } from './footer/footer.component';
import { AboutComponent } from './about/about.component';
import { TxBubbleComponent } from './tx-bubble/tx-bubble.component';
import { ReactiveFormsModule } from '@angular/forms';
import { BlockModalComponent } from './blockchain-blocks/block-modal/block-modal.component';
2019-07-21 17:59:47 +03:00
import { StatisticsComponent } from './statistics/statistics.component';
import { ProjectedBlockModalComponent } from './blockchain-projected-blocks/projected-block-modal/projected-block-modal.component';
2019-07-27 18:43:17 +03:00
import { TelevisionComponent } from './television/television.component';
import { BlockchainBlocksComponent } from './blockchain-blocks/blockchain-blocks.component';
import { BlockchainProjectedBlocksComponent } from './blockchain-projected-blocks/blockchain-projected-blocks.component';
2019-07-27 18:43:17 +03:00
import { ApiService } from './services/api.service';
import { MasterPageComponent } from './master-page/master-page.component';
import { FeeDistributionGraphComponent } from './fee-distribution-graph/fee-distribution-graph.component';
2019-07-21 17:59:47 +03:00
@NgModule({
declarations: [
AppComponent,
BlockchainComponent,
FooterComponent,
StatisticsComponent,
AboutComponent,
TxBubbleComponent,
BlockModalComponent,
ProjectedBlockModalComponent,
2019-07-27 18:43:17 +03:00
TelevisionComponent,
BlockchainBlocksComponent,
BlockchainProjectedBlocksComponent,
2019-07-27 18:43:17 +03:00
MasterPageComponent,
FeeDistributionGraphComponent,
2019-07-21 17:59:47 +03:00
],
imports: [
ReactiveFormsModule,
BrowserModule,
HttpClientModule,
AppRoutingModule,
SharedModule,
],
providers: [
2019-07-27 18:43:17 +03:00
ApiService,
2019-07-21 17:59:47 +03:00
MemPoolService,
],
entryComponents: [
BlockModalComponent,
ProjectedBlockModalComponent,
],
bootstrap: [AppComponent]
})
export class AppModule { }