ng2-bootstrap-base-modified
Version:
Native Angular Bootstrap Components Typeahead modified
17 lines (15 loc) • 511 B
text/typescript
import { CommonModule } from '@angular/common';
import { NgModule, ModuleWithProviders } from '@angular/core';
import { AlertComponent } from './alert.component';
import { AlertConfig } from './alert.config';
({
imports: [CommonModule],
declarations: [AlertComponent],
exports: [AlertComponent],
entryComponents: [AlertComponent]
})
export class AlertModule {
public static forRoot(): ModuleWithProviders {
return {ngModule: AlertModule, providers: [AlertConfig]};
}
}