[angular2][ngModules] how to call component from other module?
<p>After update angular to rc5 i have a small problem.</p>

<p>I start rewrtie my application to modules [ngModules].</p>

<p>And i have a small problem, I have two different modules, but module1 need to call a directive (component) from other module.</p>

<p>For now i doing that, but didn't worked ...</p>

<p>AppModule (module 1): </p>

<pre><code>import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { AppComponent } from './app.component';

import { HttpModule }     from '@angular/http';

import { SimCardsModule } from './+sim-cards/sim-cards.module';

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    CommonModule,
    FormsModule,
    HttpModule,
    SimCardsModule
  ],
  providers: [],
  entryComponents: [AppComponent],
  bootstrap: [AppComponent]
})
export class AppModule {

}
</code></pre>

<p>AppComponent:</p>

<pre><code>import { Component } from '@angular/core';

declare let $: any;

@Component({
  selector: 'app-root',
  templateUrl: 'app.component.html',
  styleUrls: ['app.component.css']
})
export class AppComponent {

}
</code></pre>

<p>and in template</p>

<pre><code>&lt;sim-cards&gt; loading &lt;/sim-cards&gt;
</code></pre>

<p>now i have sim-cards.module (module 2):</p>

<pre><code>import { NgModule, ApplicationRef } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';

import { HttpModule }     from '@angular/http';

import { SimCardsComponent } from './sim-cards.component';
import { SimCardsService } from './sim-cards.service';

@NgModule({
    declarations: [
        SimCardsComponent
    ],
    imports: [

        CommonModule,
        FormsModule,
        HttpModule
    ],
    providers: [SimCardsService],
    entryComponents: [SimCardsComponent],
    bootstrap: [SimCardsComponent]
})
export class SimCardsModule {

}
</code></pre>

<p>and sim-cards.component (module 2):</p>

<pre><code>import {Component, OnInit, ViewEncapsulation} from '@angular/core';
import {SimCardsService} from './sim-cards.service';
import {IfEmptySetDefaultPipe} from '../pipes/if-empty-set-default.pipe';
import {IsInternalSimCardPipe} from '../pipes/is-internal-sim-card.pipe';
import {ClientNumberSimCardPipe} from '../pipes/client-number-sim-card.pipe';
import {OperatorIdSimCardPipe} from '../pipes/operator-id-sim-card.pipe';

declare let $: any;

@Component({
    selector: 'sim-cards',
    templateUrl: 'sim-cards.component.html',
    styleUrls: ['sim-cards.component.scss'],
    encapsulation: ViewEncapsulation.None,
    pipes: [IfEmptySetDefaultPipe, IsInternalSimCardPipe, ClientNumberSimCardPipe, OperatorIdSimCardPipe]
})
export class SimCardsComponent implements OnInit {
...
}
</code></pre>

<p>How to do it in right way ? Do i need to import a component (sim card) in appmodule ? of in appcomponent ?</p>

<p>Or i do something wrong ??</p>

<p>In browser i get only string, loading... no error in console.</p>