libs/ngx-pfe/tracking/tracking.module.ts
dependencies Legend  Declarations  Module  Bootstrap  Providers  Exports cluster_PfeTrackingModule cluster_PfeTrackingModule_imports cluster_PfeTrackingModule_providers NgxPfeModule NgxPfeModule PfeTrackingModule PfeTrackingModule NgxPfeModule->PfeTrackingModule PfeTrackingService PfeTrackingService PfeTrackingService->PfeTrackingModule TrackingHttpInterceptorService TrackingHttpInterceptorService TrackingHttpInterceptorService->PfeTrackingModule
import { HTTP_INTERCEPTORS } from '@angular/common/http';
import { NgModule } from '@angular/core';

import { NgxPfeModule } from '@allianz/ngx-pfe';
import { TrackingHttpInterceptorService } from './http-interceptor.service';
import { PfeTrackingService } from './tracking.service';

@NgModule({
  imports: [NgxPfeModule],
  providers: [
    PfeTrackingService,
    {
      provide: HTTP_INTERCEPTORS,
      useClass: TrackingHttpInterceptorService,
      multi: true,
    },
  ],
})
export class PfeTrackingModule {
  constructor(private pfeTrackingService: PfeTrackingService) {}
}

results matching ""

    No results matching ""