20 lines
444 B
TypeScript
20 lines
444 B
TypeScript
|
import { NgModule, ModuleWithProviders } from '@angular/core';
|
||
|
|
||
|
import { UmgProtocolService } from './services/umg-protocol.service';
|
||
|
|
||
|
const SERVICES = [UmgProtocolService];
|
||
|
|
||
|
@NgModule({
|
||
|
declarations: [],
|
||
|
imports: [],
|
||
|
exports: []
|
||
|
})
|
||
|
export class UCapUmgProtocolModule {
|
||
|
public static forRoot(): ModuleWithProviders<UCapUmgProtocolModule> {
|
||
|
return {
|
||
|
ngModule: UCapUmgProtocolModule,
|
||
|
providers: [...SERVICES]
|
||
|
};
|
||
|
}
|
||
|
}
|