src/app/header/header.module.ts
The header module
Static forRoot |
forRoot()
|
Defined in src/app/header/header.module.ts:15
|
Returns :
ModuleWithProviders<HeaderModule>
|
import { NgModule, ModuleWithProviders } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { HeaderComponent } from './header.component';
/**
* The header module
*/
@NgModule({
imports: [FormsModule],
declarations: [HeaderComponent],
exports: [HeaderComponent],
})
export class HeaderModule {
public static forRoot(): ModuleWithProviders<HeaderModule> {
return { ngModule: HeaderModule, providers: [] };
}
}