I have a helper that returns requested array. I want to use an each to iterate the array returned by the helper. Any way to get this to work?
imagine the handlebars helper returns this array
names: [{
firstname: "first1",
lastname: "last1"
},{
firstname: "first2",
lastname: "last2"
}]
My handlebars code would looks something like this
{{#each myhelpername "keyword passed to helper"}}
<p>Hi {{firstname}} {{lastname}}</p>
{{/each}}