I have a Handlebars template which is rendered using a json object. In this json I am sending an array. Like this:
var json = { \"array\":[\"abc\"
If you are testing for an empty list in order to display content... In Ember.js which uses handlebars, you can have an else for the #each.
{{#each blah as |blah|}} {{else}} // If array is empty {{/each}}