20 lines
438 B
TypeScript
20 lines
438 B
TypeScript
|
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]
|
||
|
};
|
||
|
}
|
||
|
}
|