title: Using relative path for templateUrl in Component with SystemJS
body: <p>I'm trying to use relative path when defining templateUrl in angular2 component, as described here:
  <a href="http://schwarty.com/2015/12/22/angular2-relative-paths-for-templateurl-and-styleurls/" rel="nofollow noreferrer">http://schwarty.com/2015/12/22/angular2-relative-paths-for-templateurl-and-styleurls/</a></p>
  
  <pre><code>@Component({
      selector: 'login-app',
      moduleId: module.id,
      templateUrl: './app.html'
  })
  </code></pre>
  
  <p>although I keep getting:</p>
  
  <blockquote>
    <p>ERROR: module is not defined</p>
  </blockquote>
  
  <p>I am using <code>--m commonjs</code> in TypeScripy compile settings.</p>
  
  <p>How to make it work?</p>