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

21 lines
539 B
TypeScript
Raw Normal View History

2019-09-18 06:02:21 +00:00
import { NgModule, ModuleWithProviders } from '@angular/core';
import { CommonModule } from '@angular/common';
import { ReactiveFormsModule } from '@angular/forms';
const COMPONENTS = [];
const SERVICES = [];
@NgModule({
imports: [CommonModule, ReactiveFormsModule],
exports: [...COMPONENTS],
declarations: [...COMPONENTS]
})
export class UCapUiMessengerModule {
public static forRoot(): ModuleWithProviders<UCapUiMessengerModule> {
return {
ngModule: UCapUiMessengerModule,
providers: [...SERVICES]
};
}
}