With a Handlebars.js template like this...
Another one solution using express-handlebars
and dynamic options is this.
Helper function (From all options takes the one we want and change it to selected).
select: function(selected, options) {
return options.fn(this)
.replace( new RegExp(' value=\"' + selected + '\"'), '$& selected="selected"')
.replace( new RegExp('>' + selected + ''), ' selected="selected"$&');
}
handlebars file (I just use #each inside select to receive me data and worked like a charm).