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