title: Angular2 templateUrl Loading template will not work
body: <p>I try to load a template in my component via templateUrl. But it will not work. It throws the error in console: <strong>error TS2304: Cannot find name 'module'</strong>. The property moduleId: module.id is set. When i try to write the template inside the component, it works fine.
  I use SystemJS.
  The structure looks like:</p>
  
  <pre><code>-app
    |
    |- components
    | |
    | |-projects
    |   |
    |   |-project.component.ts
    |   |-project.component.html
    |
    |-app.component.ts
    |-app.module.ts
  </code></pre>
  
  <p>project.component.ts</p>
  
  <pre><code>import { Component } from '@angular/core';
  
  @Component({
      selector: 'project',
      moduleId: module.id,
      templateUrl: './project.component.html' 
  })
  
  export class ProjectComponent {
      title: string;
      projectName: string;
      projectCity: string;
  
      constructor () {}
  
      addProject () {
          console.log('Add project);
      }
  }
  </code></pre>
  
  <p>The very simple html:</p>
  
  <pre><code>&lt;div&gt;
      &lt;form novalidate (ngSubmit)="addProject(form.value)" #form="ngForm"&gt;
  
          &lt;div class="form-group"&gt;
              &lt;label for=""&gt;Projectname&lt;/label&gt;
              &lt;input type="text" name="projectName" class="form-control" required [(ngModel)]="projectName"&gt;    
          &lt;/div&gt;
  
          &lt;div class="form-group"&gt;
               &lt;label for=""&gt;Ort&lt;/label&gt;
               &lt;input type="text" name="projectCity" class="form-control" required [(ngModel)]="projectCity"&gt;    
          &lt;/div&gt;
  
          &lt;button type="submit" [disabled]="!form.valid" class="btn btn-default"&gt;Project anlegen&lt;/button&gt;
  
       &lt;/form&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>app.component.ts</p>
  
  <pre><code>import { NgModule } from '@angular/core';
  import { BrowserModule } from '@angular/platform-browser';
  import { AppComponent } from './app.component';
  import { ProjectComponent } from './components/projects/project.component';
  import { FormsModule } from '@angular/forms';
  
  @NgModule({
      imports: [BrowserModule, FormsModule],
      declarations: [AppComponent, ProjectComponent],
      bootstrap: [AppComponent]
  })
  
  export class AppModule {}
  </code></pre>