title: Angular 2 Beta Routing Error: Template parse errors: Can't bind to 'router-link' since it isn't a known native property
body: <p>I just started learning angular 2 and I am trying to set up a router. I checked out other blogs about this and nothing has worked so far. I have a basic setup with an apps Component that would be shown when the user clicks the links at the top of the page. </p>
  
  <p>Here is the code I have so far. I am sure that something is missing. Please let me know if so.</p>
  
  <p>index.html</p>
  
  <pre><code>&lt;html&gt;
  
  &lt;head&gt;
  &lt;title&gt;Title&lt;/title&gt;
  &lt;meta name="viewport" content="width=device-width, initial-scale=1"&gt;
  &lt;link rel="stylesheet" href="styles.css"&gt;
  &lt;link rel="stylesheet" href="node_modules/bootstrap/dist/css/bootstrap.min.css"&gt;
  &lt;!-- 1. Load libraries --&gt;
  &lt;!-- IE required polyfills, in this exact order --&gt;
  &lt;script src="node_modules/es6-shim/es6-shim.min.js"&gt;&lt;/script&gt;
  &lt;script src="node_modules/systemjs/dist/system-polyfills.js"&gt;&lt;/script&gt;
  &lt;script src="node_modules/angular2/es6/dev/src/testing/shims_for_IE.js"&gt;&lt;/script&gt;
  &lt;script src="node_modules/angular2/bundles/angular2-polyfills.js"&gt;&lt;/script&gt;
  &lt;script src="node_modules/systemjs/dist/system.src.js"&gt;&lt;/script&gt;
  &lt;script src="node_modules/rxjs/bundles/Rx.js"&gt;&lt;/script&gt;
  &lt;script src="node_modules/angular2/bundles/angular2.dev.js"&gt;&lt;/script&gt;
  &lt;script src="node_modules/angular2/bundles/router.dev.js"&gt;&lt;/script&gt;
  &lt;!-- 2. Configure SystemJS --&gt;
  &lt;script&gt;
      System.config({
          packages: {
              app: {
                  format: 'register',
                  defaultExtension: 'js',
                  baseURL: '/',
                  transpiler: 'typescript',
              }
          }
      });
      System.import('app/main')
          .then(null, console.error.bind(console));
  &lt;/script&gt;
  &lt;/head&gt;
  &lt;!-- 3. Display the application --&gt;
  
  &lt;body&gt;
  &lt;my-app&gt;Loading...&lt;/my-app&gt;
  &lt;/body&gt;
  
  &lt;/html&gt;
  </code></pre>
  
  <p>app.component.ts</p>
  
  <pre><code>import {Component}from 'angular2/core';
  import {RouteConfig, ROUTER_DIRECTIVES, ROUTER_PROVIDERS} from 'angular2/router';
  import {apps} from './apps.component';
  // Root level app
  @Component({
  selector: 'my-app',
  directives: [ROUTER_DIRECTIVES],
  template: `
      &lt;ul&gt;
          &lt;li&gt;&lt;a href="#"&gt;Home&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a [router-link]="['/apps']"&gt;Apps&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="#"&gt;GPS&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="#"&gt;Settings&lt;/a&gt;&lt;/li&gt;
      &lt;/ul&gt;
  
      &lt;div class="container"&gt;
          &lt;div class="row"&gt;
              &lt;div class="col-md-12"&gt;
                  &lt;router-outlet&gt;&lt;/router-outlet&gt;
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  `
   })
  
  @RouteConfig([{
    path: '/apps',
    as: 'apps',
    component: apps
  }])
  export class AppComponent {}
  </code></pre>
  
  <p>apps.component.ts</p>
  
  <pre><code>import {Component} from 'angular2/core';
  import {Router} from 'angular2/router';
  
  @Component({
   selector: 'apps-menu',
   template: '&lt;h1&gt;I am the apps&lt;/h1&gt;'
  })
  
  export class apps{
  
  }
  </code></pre>
  
  <p>main.ts</p>
  
  <pre><code>import {bootstrap} from 'angular2/platform/browser';
  import {AppComponent} from './app.component';
  import {ROUTER_PROVIDERS} from 'angular2/router';
  
  bootstrap(AppComponent, [ROUTER_PROVIDERS]);
  </code></pre>