Can't we put this directly in handlebars using 
```html
<code><a {{bindAttr class="view.isSelected:active-menu"}}> ... </a>
```