dependencies Legend  Declarations  Module  Bootstrap  Providers  Exports cluster_ChatsModule cluster_ChatsModule_declarations cluster_ChatsModule_imports cluster_ChatsModule_providers ChatComponent ChatComponent ChatsModule ChatsModule ChatComponent->ChatsModule ChatsComponent ChatsComponent ChatsComponent->ChatsModule ContactsComponent ContactsComponent ContactsComponent->ChatsModule NoticeComponent NoticeComponent NoticeComponent->ChatsModule ChatRoutingModule ChatRoutingModule ChatRoutingModule->ChatsModule SharedModule SharedModule SharedModule->ChatsModule ChatsFirebase ChatsFirebase ChatsFirebase->ChatsModule ChatsService ChatsService ChatsService->ChatsModule

File

src/app/chats/chats.module.ts

import { NgModule } from '@angular/core';
import { HttpClientModule } from '@angular/common/http';
import { SharedModule } from '../shared/shared.module';

import { ChatsService } from './chats.service';
import { ChatsFirebase } from './chats.firebase';
import { ChatsComponent } from './chats.component';
import { ContactsComponent } from './contacts/contacts.component';
import { ChatComponent } from './chat/chat.component';
import { NoticeComponent } from './notice/notice.component';
import { ChatRoutingModule } from './chats.routing';

import { PerfectScrollbarModule } from 'ngx-perfect-scrollbar';
import { PERFECT_SCROLLBAR_CONFIG } from 'ngx-perfect-scrollbar';
import { PerfectScrollbarConfigInterface } from 'ngx-perfect-scrollbar';

const DEFAULT_PERFECT_SCROLLBAR_CONFIG: PerfectScrollbarConfigInterface = {
  suppressScrollX: true
};

@NgModule({
  imports: [
    SharedModule,
    ChatRoutingModule,
    PerfectScrollbarModule,
    HttpClientModule
  ],
  declarations: [
    ChatsComponent,
    ContactsComponent,
    ChatComponent,
    NoticeComponent
  ],
  entryComponents: [NoticeComponent],
  providers: [
    ChatsFirebase,
    ChatsService,
    {
      provide: PERFECT_SCROLLBAR_CONFIG,
      useValue: DEFAULT_PERFECT_SCROLLBAR_CONFIG
    }
  ]
})
export class ChatsModule {}

result-matching ""

    No results matching ""