title: Feature module not exporting component
body: <p>My simple app has a root module named <em>AppModule</em> and a feature module named <em>HomeModule</em>. I'm trying to create a route for a component named <em>HomeComponent</em> (which is part of <em>HomeModule</em>) but all I get is</p>
  
  <pre><code>Module "HomeModule" has no exported member 'HomeComponent'
  </code></pre>
  
  <p>app.routing.ts</p>
  
  <pre><code>import { Routes, RouterModule } from '@angular/router'
  import { HomeComponent } from './Home/home.module.ts' // HomeComponent not found
  
  const appRoutes: Routes = [
    { path: '', component: HomeComponent }
  ];
  
  export const appRoutingProviders: any[] = [
  
  ];
  
  export const routing = RouterModule.forRoot(appRoutes);
  </code></pre>
  
  <p>home.module.ts</p>
  
  <pre><code>import { NgModule }      from '@angular/core';
  import { BrowserModule } from '@angular/platform-browser';
  
  import { HomeComponent }  from './home.component.ts';
  
  @NgModule({
    imports:      [ BrowserModule ],
    declarations: [ HomeComponent ],
    exports:      [ HomeComponent ]
  })
  
  export class HomeModule { }
  </code></pre>
  
  <p>home.component.ts</p>
  
  <pre><code>import { Component } from '@angular/core';
  
  @Component({
    selector: 'home',
    template: '&lt;h1&gt;Hello World&lt;/h1&gt;'
  })
  
  export class HomeComponent { }
  </code></pre>
  
  <p>Why is <em>HomeModule</em> not exporting its component?</p>