If 'router-outlet' is an Angular component, then verify that it is part of this module in childer code example
Example: If 'router-outlet' is an Angular component, then verify that it is part of this module.
@NgModule({
imports: [
BrowserModule,
RouterModule