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