title: Using relative path for templateUrl in Angular2+Webpack
body: <pre><code>import {Component} from 'angular2/core';
  
  @Component({
    selector: 'app',
    styleUrls: ['./app.component.less'],
    templateUrl: './app.component.html'
  })
  export class AppComponent {
    name:string = 'Demo'
  }
  </code></pre>
  
  <p>When using the relative path for templateUrl and styleUrls, I get: error 404, file not found:</p>
  
  <p>zone.js: 101 GET <a href="http://localhost/app.component.html" rel="nofollow">http://localhost/app.component.html</a> 404 (Not Found)</p>
  
  <p>code: <a href="https://github.com/Dreampie/angular2-demo" rel="nofollow">https://github.com/Dreampie/angular2-demo</a></p>
  
  <p>I think this is not good design,because under different circumstances may build directory is not the same, can I change it to relative current path?</p>
  
  <p><code>raw-loader</code> can resolve this,but <code>html-loader</code>,<code>less-loader</code> not work for <code>template</code>,<code>styles</code>,it only work in <code>string</code>,so why not suport them?</p>
  
  <pre><code>import {Component} from 'angular2/core';
  
  @Component({
    selector: 'app',
    styles: [require('./app.component.less')],
    template: require('./app.component.html')
  })
  export class AppComponent {
    name:string = 'Demo'
  }
  </code></pre>
  
  <p>get other error:</p>
  
  <pre><code>browser_adapter.js:77 EXCEPTION: Error during instantiation of Token Promise&lt;ComponentRef&gt;!.BrowserDomAdapter.logError
  browser_adapter.js:77 ORIGINAL EXCEPTION: Expected 'styles' to be an array of strings.
  </code></pre>