Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.34 KB | None | 0 0
  1. import { NgModule } from '@angular/core';
  2. import { CommonModule } from '@angular/common';
  3. import { ToolbarComponent } from './components/toolbar/toolbar.component';
  4. import { MaterialModule } from '../shared/ui/material.module';
  5. import { BookkeepingCardComponent } from './components/bookkeeping-card/bookkeeping-card.component';
  6. import { FormsModule, ReactiveFormsModule } from '@angular/forms';
  7. import { BrowserModule } from '@angular/platform-browser';
  8. import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
  9. import { NgxChartsModule } from '@swimlane/ngx-charts';
  10. import { ChartComponent } from './components/bookkeeping-card/chart/chart.component';
  11.  
  12.  
  13. @NgModule({
  14. declarations: [ToolbarComponent, BookkeepingCardComponent, ChartComponent],
  15. imports: [
  16. CommonModule,
  17. MaterialModule,
  18. FormsModule,
  19. ReactiveFormsModule,
  20. BrowserModule,
  21. BrowserAnimationsModule,
  22. NgxChartsModule
  23. ],
  24. exports: [ToolbarComponent, BookkeepingCardComponent]
  25. })
  26. export class CoreModule { }
  27.  
  28.  
  29. @NgModule({
  30. declarations: [
  31. AppComponent
  32. ],
  33. imports: [
  34. BrowserModule,
  35. CoreModule,
  36. SharedModule,
  37. HttpClientModule,
  38. FormsModule,
  39. ReactiveFormsModule,
  40. NgxChartsModule
  41. ],
  42. providers: [DatePipe, {provide: MAT_DATE_LOCALE, useValue: 'en-GB'}],
  43. bootstrap: [AppComponent]
  44. })
  45. export class AppModule { }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement