title: Angular pass a component from a module to another module in the App module
body: <p>I have an issue figuring out how I can pass a component from a module I import into my Angular application and use it inside another module that I import also in my App.</p>
  
  <p>Note that all those two modules are modules I created.</p>
  
  <p>That's my app.module.ts :</p>
  
  <pre><code>@NgModule({
    declarations: [
      AppComponent,
      HomeComponent,
      PnDashboardComponent,
      PnFormulaireComponent
    ],
    imports: [
      BrowserModule,
      AppRoutingModule,
      HttpClientModule,
      LayoutModule.forRoot(environment.layout),
      DispoModule.forRoot(environment.dispoAides)
    ],
    providers: [
      ErrorsHandler,
      InitialisationService,
      InitializationGuard
    ],
    bootstrap: [AppComponent]
  })
  </code></pre>
  
  <p>What I want to do is pass a component let's say called <code>BreadcrumbComponent</code> from the <code>LayoutModule</code> to the <code>DispoModule</code> and beeing able to use it inside that module.</p>
  
  <p>Note that LayoutModule and DispoModule are dependent angular module project that are packaged with ng-packagr and imported in my Application.</p>
  
  <p>Thank you.</p>