A bootstrapped component is an entry component that Angular loads into DOM at the application launch and the other root components loaded dynamically into entry components. The following is an example of specifying a bootstrapped component - @ NgModule ({ declarations: [ AppComponent , LoginComponent ], imports: [ BrowserModule , FormsModule , HttpModule , AppRoutingModule ], providers: [], bootstrap: [ AppComponent ] // bootstrapped entry component }) export class AppModule { } The entry component is used to define components and created dynamically using the ComponentFactoryResolver. The @ NgModule.bootstrap property report the compiler that this is an entry component and it should generate code to bootstrap the application with this component. For more information, se...
Angular, React, JavaScript, Java, PHP, SQL, C#, Vue, NodeJs, TypeScript and Interview Questions Answers