title: my component does not shown in index page
body: <p>i'm starter and i'm trying create a simple component in angular
  but i have problem, my component does not shown in index page
  please help me..</p>
  
  <p>this is my component with "List.Component.ts" name :</p>
  
  <pre><code>import { Component } from '@angular/core';
  
  @Component({
    selector:'navBar',
    templateUrl:'./navBarTemplate.html'
  })
  
  export class navBar {
    constructor(){
  
    }
  }
  </code></pre>
  
  <p>this is my template html code : </p>
  
  <pre><code>&lt;ul&gt;
    &lt;li&gt;Test-1&lt;/li&gt;
    &lt;li&gt;Test-2&lt;/li&gt;
    &lt;li&gt;Test-3&lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>And i imported my component in the "app.module.ts" file:</p>
  
  <pre><code>import { NgModule }      from '@angular/core';
  import { BrowserModule } from '@angular/platform-browser';
  
  
  import { AppComponent }  from './app.component';
  
  //here is my component
  import { navBar } from './List.Component';
  
  
  @NgModule({
    imports:      [ BrowserModule ],
    declarations: [ AppComponent, navBar ],
    bootstrap:    [ AppComponent ]
  })
  export class AppModule { }
  </code></pre>
  
  <p>but angular just shown "Hello Angular" in the index page.</p>
  
  <p>my Index page :</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
    &lt;head&gt;
      &lt;title&gt;Angular QuickStart&lt;/title&gt;
      &lt;base href="/"&gt;
      &lt;meta charset="UTF-8"&gt;
      &lt;meta name="viewport" content="width=device-width, initial-scale=1"&gt;
      &lt;link rel="stylesheet" href="styles.css"&gt;
  
      &lt;!-- Polyfill(s) for older browsers --&gt;
      &lt;script src="node_modules/core-js/client/shim.min.js"&gt;&lt;/script&gt;
  
      &lt;script src="node_modules/zone.js/dist/zone.js"&gt;&lt;/script&gt;
      &lt;script src="node_modules/systemjs/dist/system.src.js"&gt;&lt;/script&gt;
  
      &lt;script src="systemjs.config.js"&gt;&lt;/script&gt;
      &lt;script&gt;
        System.import('main.js').catch(function(err){ console.error(err); });
      &lt;/script&gt;
    &lt;/head&gt;
  
    &lt;body&gt;
      &lt;NavBar&gt;&lt;/NavBar&gt;
      &lt;my-app&gt;Loading AppComponent content here ...&lt;/my-app&gt;
    &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>