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