import { NgModule, ModuleWithProviders } from '@angular/core';
import { CommonModule } from '@angular/common';
import { BANK_INFO_SERVICES } from './bank-info/service';

@NgModule({
  imports: [],
  exports: []
})
export class SitesRootModule {}

@NgModule({
  declarations: [],
  imports: [CommonModule],
  exports: []
})
export class SitesModule {
  public static forRoot(): ModuleWithProviders<SitesRootModule> {
    return {
      ngModule: SitesRootModule,
      providers: [BANK_INFO_SERVICES]
    };
  }
}
