dependencies Legend  Declarations  Module  Bootstrap  Providers  Exports cluster_ExportModule cluster_ExportModule_bootstrap cluster_ExportModule_declarations cluster_ExportModule_imports ExportComponent ExportComponent ExportModule ExportModule ExportComponent->ExportModule ExportComponent ExportComponent ExportModule->ExportComponent RedboxPortalCoreModule RedboxPortalCoreModule RedboxPortalCoreModule->ExportModule

File

angular/projects/researchdatabox/export/src/app/export.module.ts

Declarations

Bootstrap

import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { FormsModule } from "@angular/forms";
// import { NKDatetimeModule } from 'ng2-datetime/ng2-datetime';
import { APP_BASE_HREF, PlatformLocation } from '@angular/common';
import { BsDatepickerModule } from 'ngx-bootstrap/datepicker';
import { RedboxPortalCoreModule, trimLastSlashFromUrl } from '@researchdatabox/portal-ng-common';
import { ExportComponent } from './export.component';

@NgModule({
  declarations: [
    ExportComponent
  ],
  imports: [
    BrowserModule,
    FormsModule,
    BrowserAnimationsModule,
    RedboxPortalCoreModule,
    BsDatepickerModule.forRoot()
  ],
  providers: [
    {
      provide: APP_BASE_HREF,
      useFactory: (s: PlatformLocation) => trimLastSlashFromUrl(s.getBaseHrefFromDOM()),
      deps: [PlatformLocation]
    }
  ],
  bootstrap: [ExportComponent]
})
export class ExportModule { }

results matching ""

    No results matching ""