Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Single Page App - Products Template for LoDash
<% _.forEach(products, function(product) { %>
<strong><%- %></strong>
<span>( Cateogry: <span class="value"><%- product.category %></span> )</span>
<span>( Link: <a href='"#/products/<%- %>'>
<%- %> Details</a> )</span>
<div>Description: <%= product.description %></div>
<div>Price: <%- product.price %></div>
<% }); %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment