20 lines
438 B
TypeScript
Raw Normal View History

2019-12-15 18:07:25 +09:00
import { NgModule, ModuleWithProviders } from '@angular/core';
import { DaesangCipherService } from './services/daesang-cipher.service';
const SERVICES = [DaesangCipherService];
@NgModule({
declarations: [],
imports: [],
exports: []
})
export class UCapDaesangModule {
public static forRoot(): ModuleWithProviders<UCapDaesangModule> {
return {
ngModule: UCapDaesangModule,
providers: [...SERVICES]
};
}
}