Create an anchor tag in a Underscore.js template
<p>I am trying to create an anchor tag inside an Underscore.js template and i need to set value of an attribute to Underscore variable:</p>

<pre><code>_.each(items, function(item){%&gt; 
    &lt;a asp-route-id= "here i want to pass item.id but i can't"&gt; 
         &lt;%= itme.Name %&gt;
    &lt;a/&gt;
%&gt;}
</code></pre>