Guest User

Untitled

a guest
Oct 22nd, 2019
78
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import { BrowserModule } from '@angular/platform-browser';
  2. import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
  3. import { FormsModule } from '@angular/forms';
  4. import { MatButtonModule,MatCardModule,MatCheckboxModule,MatDialogModule,MatFormFieldModule,MatGridListModule, MatIconModule,MatInputModule,MatSelectModule,MatToolbarModule} from '@angular/material';
  5. import { NgModule } from '@angular/core';
  6.  
  7. import { AnonymousSuggestionComponent } from './anonymous-suggestion/anonymous-suggestion.component';
  8. import { ClearBrowserCacheComponent } from './clear-browser-cache/clear-browser-cache.component';
  9. import { CreateAccountComponent } from './create-account/create-account.component'
  10. import { LoginComponent } from './login/login.component';
  11. import { ResetpasswordComponent } from './resetpassword/resetpassword.component';
  12.  
  13. import { MainComponent } from './main-component/main.component';
  14. import { Router, RouterModule } from '@angular/router';
  15. import { RouterTestingModule } from '@angular/router/testing';
  16. import { RecaptchaModule } from 'angular-google-recaptcha';
  17. import { ReactiveFormsModule } from '@angular/forms';
  18. import { ModalDialogComponent } from './modal-dialog/modal-dialog.component';
  19. import { allRoutes } from './routes.service';
  20. import { DataService } from './routes.service';
  21.  
  22. @NgModule({
  23. declarations: [
  24. AnonymousSuggestionComponent,
  25. LoginComponent,
  26. ModalDialogComponent,
  27. MainComponent,
  28. ResetpasswordComponent,
  29. ClearBrowserCacheComponent,
  30. CreateAccountComponent
  31. ],
  32. entryComponents: [ModalDialogComponent],
  33. imports: [
  34. BrowserModule,
  35. BrowserAnimationsModule,
  36. FormsModule,
  37. MatButtonModule,
  38. MatCardModule,
  39. MatCheckboxModule,
  40. MatDialogModule,
  41. MatFormFieldModule,
  42. MatGridListModule,
  43. MatIconModule,
  44. MatInputModule,
  45. MatSelectModule,
  46. MatToolbarModule,
  47. ReactiveFormsModule,
  48. RouterTestingModule,
  49.  
  50. RouterModule.forRoot(
  51. allRoutes
  52. //{ enableTracing: true } // <-- debugging purposes only
  53. ),
  54.  
  55. RecaptchaModule.forRoot({
  56. siteKey: '6LeU3gYUAAAAAIDFpoT5cCXNzO26VdSdQZzUURZ1',
  57. }),
  58. ],
  59. exports: [RouterModule],
  60. providers: [
  61. DataService,
  62. MainComponent,
  63. ],
  64. bootstrap: [MainComponent]
  65. })
  66.  
  67. export class AppModule {}
RAW Paste Data