title: Add incrememter to id in ejs
body: <p>I am working on a javascript page that uses an MVC format and canJS. In my view property when I add new elements I want to add id's and dynamically assign new ids to each thing I load.</p>
  
  <p>The code in my .ejs file is somehting like this:</p>
  
  <pre><code>&lt;ul&gt;
  &lt;% can.each(pages, function(val, key){ %&gt;
  &lt;li id="&lt;% 'page' + // Add incrementer here%&gt;"&gt;&lt;%= val.attr('Title') %&gt;
  &lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>Where pages is iterable. I want to add an incrementer so every page I add has a unique id for reference later. Is this possible in the .ejs file?</p>
  
  <p>Thanks</p>