20 lines
462 B
TypeScript
20 lines
462 B
TypeScript
|
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]
|
||
|
};
|
||
|
}
|
||
|
}
|