2020-07-30 17:29:20 +02:00
|
|
|
import { GuidedTourService } from './guided-tour.service';
|
|
|
|
import { GuidedTourComponent } from './guided-tour.component';
|
|
|
|
import { NgModule, ErrorHandler, ModuleWithProviders } from '@angular/core';
|
|
|
|
import { CommonModule } from '@angular/common';
|
|
|
|
import { WindowRefService } from './windowref.service';
|
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
declarations: [GuidedTourComponent],
|
|
|
|
imports: [CommonModule],
|
|
|
|
providers: [WindowRefService],
|
|
|
|
exports: [GuidedTourComponent],
|
|
|
|
entryComponents: [GuidedTourComponent],
|
|
|
|
})
|
|
|
|
export class GuidedTourModule {
|
2021-09-24 20:52:14 +02:00
|
|
|
public static forRoot(): ModuleWithProviders<GuidedTourModule> {
|
2020-07-30 17:29:20 +02:00
|
|
|
return {
|
|
|
|
ngModule: GuidedTourModule,
|
|
|
|
providers: [ErrorHandler, GuidedTourService],
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|