title: TypeScript with requireJs for coding modular way
body: <pre><code>define(["require", "exports", "js/models/home","templates/home/home.html"
  ], function(require, exports, __model__, __homeView__) {
  
      var model = __model__;
      var homeView=__homeView__;
  
  
  }
  </code></pre>
  
  <p>I would like to write a <code>.ts</code> file which will generate a <code>js</code> file like this.</p>
  
  <p>By compiling <code>--module</code> amd I can import a model and also reference the <code>jquery</code>, <code>backboneJs</code> or any other <code>js</code> files.
  But how can I import an externer <code>html</code> file as like <code>requireJs</code> does?</p>