title: How can I provide parameters for webpack html-loader interpolation?
body: <p>In the <a href="https://github.com/webpack/html-loader" rel="noreferrer">html-loader</a> documentation there is this example </p>
  
  <pre><code>require("html?interpolate=require!./file.ftl");
  
  &lt;#list list as list&gt;
      &lt;a href="${list.href!}" /&gt;${list.name}&lt;/a&gt;
  &lt;/#list&gt;
  
  &lt;img src="${require(`./images/gallery.png`)}"&gt;
  &lt;div&gt;${require('./components/gallery.html')}&lt;/div&gt;
  </code></pre>
  
  <p>Where does "list" come from? How can I provide parameters to the interpolation scope?</p>
  
  <p>I would like to do something like <a href="https://www.npmjs.com/package/template-string-loader" rel="noreferrer">template-string-loader</a> does:</p>
  
  <pre><code>var template = require("html?interpolate!./file.html")({data: '123'});
  </code></pre>
  
  <p>and then in file.html</p>
  
  <pre><code>&lt;div&gt;${scope.data}&lt;/div&gt;
  </code></pre>
  
  <p>But it doesn't work. I have try to mix the template-string-loader with the html-loader but it doesn't works. I could only use the template-string-loader but then the images in the HTML are not transformed by webpack.</p>
  
  <p>Any ideas? Thank you</p>