dependencies Legend  Declarations  Module  Bootstrap  Providers  Exports cluster_HeaderModule cluster_HeaderModule_exports cluster_HeaderModule_declarations HeaderComponent HeaderComponent HeaderModule HeaderModule HeaderComponent->HeaderModule HeaderComponent HeaderComponent HeaderModule->HeaderComponent

File

src/app/header/header.module.ts

Description

The header module

Declarations

Exports

Methods

Static forRoot
forRoot()
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: [] };
    }
}

results matching ""

    No results matching ""