next-ucap-messenger/projects/ucap-webmessenger-protocol-status/src/lib/ucap-status-protocol.module.ts

20 lines
462 B
TypeScript
Raw Normal View History

2019-09-18 06:02:21 +00:00
import { NgModule, ModuleWithProviders } from '@angular/core';
import { StatusProtocolService } from './services/status-protocol.service';
const SERVICES = [StatusProtocolService];
@NgModule({
declarations: [],
imports: [],
exports: []
})
export class UCapStatusProtocolModule {
public static forRoot(): ModuleWithProviders<UCapStatusProtocolModule> {
return {
ngModule: UCapStatusProtocolModule,
providers: [...SERVICES]
};
}
}