What is the use of the class in NgModule in Angular? In @Component, the class can contain variables of the component. What useful information could the class in NgModule contain?
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }