title: Rendering html with data with nodejs Express
body: <p>I'm new to express framework i just want know how to render html page with some data from mongo DB i used below code to send html but not sure how to send some data </p>
  
  <pre><code>res.sendFile(path + "feature.html"); this is success as html get renders 
  </code></pre>
  
  <p>send data like this ??</p>
  
  <pre><code>res.sendFile(path + "feature.html", {data: data});
  </code></pre>
  
  <p>how to display  data in html ?? if i have sent an array like this </p>
  
  <pre><code>res.sendFile(path + "feature.html", {data: []});
  </code></pre>
  
  <p>how to loop this in html ??</p>