I'm using Ember.js and creating a link to a route using the #link-to helper. I'd like to use some data to construct a class name. Is that possible? If so, how can I do that?
{{#link-to 'model' model.property class="myclass--model.property"}}
{{model.property}}
{{/link-to}}
Of course, with this code class="myclass--model.property" will compile as a string. Is there any way to escape the string? Or is there a different approach I should be using?