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