dependencies Legend  Declarations  Module  Bootstrap  Providers  Exports cluster_CoreModule cluster_CoreModule_imports cluster_CoreModule_exports cluster_CoreModule_providers MaterialModule MaterialModule CoreModule CoreModule MaterialModule->CoreModule AlgoliaModule AlgoliaModule AlgoliaModule->CoreModule NlpModule NlpModule NlpModule->CoreModule MaterialModule MaterialModule CoreModule->MaterialModule AlgoliaModule AlgoliaModule CoreModule->AlgoliaModule SpeechToTextService SpeechToTextService SpeechToTextService->CoreModule TextToSpeechService TextToSpeechService TextToSpeechService->CoreModule EastereggService EastereggService EastereggService->CoreModule
import { EastereggService } from './easteregg.service';
import { environment } from './../../environments/environment';
import { NgModule } from '@angular/core';
import { MaterialModule } from '@app/core/material/material.module';
import { AlgoliaModule } from '@app/core/algolia/algolia.module';
import { TextToSpeechService } from './voice/text-to-speech.service';
import { SpeechToTextService } from './voice/speech-to-text.service';
import { NlpModule } from './voice/voice.module';

@NgModule({
  imports: [
    MaterialModule,
    AlgoliaModule.forRoot({
      applicationId: environment.algolia.applicationId,
      searchApiKey: environment.algolia.searchApiKey,
      indexName: environment.algolia.indexName
    }),
    NlpModule.forRoot({
      accessToken: environment.dialogflow.accessToken
    })
  ],
  providers: [SpeechToTextService, TextToSpeechService, EastereggService],
  exports: [MaterialModule, AlgoliaModule]
})
export class CoreModule {}

results matching ""

    No results matching ""