title: Angular2 AoT - module.id is not defined while setting module.id in component
body: <p>I am facing a challenge with Angular2 AoT and any help will be a big one for me since I am stuck.</p>
  
  <p>I have a simple hello world app which has main.js, home.module.ts, home.component.ts, home.component.html and home.service.ts. This code works well using Angular2 without AoT. </p>
  
  <p>After I perform AoT and Rollup precisely as per angular.io steps in cookbook, i am getting error: "Uncaught ReferenceError: module is not defined" and I have no clue why this is happening.</p>
  
  <p>My Home.Component.ts is marked like this:</p>
  
  <pre><code>@Component({
      selector: 'rf-home',
      moduleId: module.id,   // i m setting this module.id so that I can use relative template paths in my code. Helps in Dev env.
      templateUrl: 'Home.component.html',
      providers: [HomeService]
  })
  </code></pre>
  
  <p>Someone out there, please help!</p>