1 2 3 4 5 6 7 8 9 10 11 12 13
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { HeaderComponent } from './header/header.component'; @NgModule({ declarations: [HeaderComponent], imports: [ CommonModule ], exports : [HeaderComponent] }) export class SharedModulesModule { }