title: core.js:1440 ERROR Error: Uncaught (in promise): Error: No component factory found for . Did you add it to @NgModule.entryComponents?
body: <p>not able to navigate to another routes after adding  in app.component.html</p>
  
  <p>Code:</p>
  
  <pre><code>@NgModule({ 
    declarations: [ AppComponent, ProductComponent, MembersComponent ], 
    imports: [ 
      BrowserModule, 
      FormsModule, 
      HttpModule, 
      RouterModule.forRoot([ 
         { path: 'member', component: 'MembersComponent' },
         { path: 'product', component: 'ProductComponent' } 
      ]) ], 
    providers: [], 
    bootstrap: [AppComponent] 
  })
  export class AppModule { }
  </code></pre>