title: import one component from module to component of another module
body: <p>I work with angular 6 and i have a <code>media</code> module. I want to import <code>MediaComponent</code> ( exported in <code>MediaModule</code>) but i have this error:</p>
  
  <pre><code>media.module"' has no exported member 'MediaComponent'.
  </code></pre>
  
  <p>this is the MediaModule declaration:</p>
  
  <pre><code>@NgModule({
    imports: [
      CommonModule,
      MediaRoutingModule,
      MaterialModule
    ],
    declarations: [LayoutComponent, MediaComponent],
    exports: [
      MediaComponent,
      CommonModule
    ]
  })
  </code></pre>
  
  <p>and this is another module declaration:</p>
  
  <pre><code>@NgModule({
    imports: [
      CommonModule,
      MaterialModule,
      FormsModule,
      EM,
      EditorRoutingModule,
      MediaModule
    ],
    declarations: [ListComponent, CreateComponent, AddimageComponent]
  })
  </code></pre>
  
  <p>from component in another module (<code>EditorModule</code>), this is my import:</p>
  
  <pre><code>import { MediaComponent } from '@app/views/media/media.module';
  </code></pre>
  
  <p>and i got the exception.</p>
  
  <p><strong>Notice:</strong> When i use <code>media directive</code> in a component on <code>EditorModule</code>, it work file. for example
  <code>&lt;app-media&gt;&lt;/app-media&gt;</code> display the content of <code>MediaComponent</code></p>