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