app.module.ts 918 B

123456789101112131415161718192021222324252627282930
  1. import { NgModule, LOCALE_ID } from '@angular/core';
  2. import { BrowserModule } from '@angular/platform-browser';
  3. import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
  4. import { FormsModule, ReactiveFormsModule } from '@angular/forms';
  5. import { RouterModule } from '@angular/router';
  6. import { DynaformModule } from './dynaform/dynaform.module';
  7. // import { NgbModule } from '@ng-bootstrap/ng-bootstrap';
  8. import { AppComponent } from './app.component';
  9. import { JsonFormatterDirective } from './directives/json-formatter.directive';
  10. @NgModule({
  11. imports: [
  12. BrowserModule,
  13. BrowserAnimationsModule,
  14. FormsModule,
  15. ReactiveFormsModule,
  16. RouterModule.forRoot([]),
  17. DynaformModule,
  18. // NgbModule.forRoot()
  19. ],
  20. declarations: [
  21. AppComponent,
  22. JsonFormatterDirective
  23. ],
  24. providers: [ { provide: LOCALE_ID, useValue: 'en-gb' } ],
  25. bootstrap: [AppComponent ]
  26. })
  27. export class AppModule { }