dependencies Legend  Declarations  Module  Bootstrap  Providers  Exports cluster_TransportsModule cluster_TransportsModule_declarations cluster_TransportsModule_imports cluster_TransportsModule_providers TransportsPageComponent TransportsPageComponent TransportsModule TransportsModule TransportsPageComponent->TransportsModule CalendarComponent CalendarComponent CalendarComponent->TransportsModule SharedModule SharedModule SharedModule->TransportsModule TransportsRoutingModule TransportsRoutingModule TransportsRoutingModule->TransportsModule CustomDateFormatter CustomDateFormatter CustomDateFormatter->TransportsModule TransportService TransportService TransportService->TransportsModule

File

src/app/transports/transports.module.ts

import { NgModule } from '@angular/core';
import { SharedModule } from '../shared/shared.module';
import { TransportsRoutingModule } from './routing/transports-routing.module';
import { TranslateModule } from '@ngx-translate/core';
import { CustomDateFormatter } from './services/custom-date-formater';
import { CalendarDateFormatter } from 'angular-calendar';
import { TransportService } from './services/transport.service';
import { CalendarComponent } from './components/calendar/calendar.component';
import { StoreModule } from '@ngrx/store';
import { reducers } from './reducers/index';
import { EffectsModule } from '@ngrx/effects';
import { CalendarEffects } from './effects/calendar.effects';
import { TransportsPageComponent } from './containers/transports-page/transports-page.component';

@NgModule({
  imports: [
    SharedModule,
    TranslateModule,
    TransportsRoutingModule,
    StoreModule.forFeature('transports', reducers),
    EffectsModule.forFeature([CalendarEffects])
  ],
  declarations: [
    TransportsPageComponent,
    CalendarComponent
  ],
  providers: [
    CustomDateFormatter,
    {
      provide: CalendarDateFormatter,
      useClass: CustomDateFormatter
    },
    TransportService
  ]
})
export class TransportsModule { }

results matching ""

    No results matching ""