File

projects/maplander/shared/src/lib/services/lazy-loader/lazy-loader.module.ts

Methods

Static forChild
forChild()
import {ModuleWithProviders, NgModule} from '@angular/core';
import {CommonModule} from '@angular/common';
import {LazyLoadService} from './lazy-load.service';

@NgModule({
  imports: [
    CommonModule
  ]
})
export class LazyLoaderModule {
  static forChild(): ModuleWithProviders {
    return {
      ngModule: LazyLoaderModule,
      providers: [
        LazyLoadService
      ]
    };
  }
}

result-matching ""

    No results matching ""