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