Using the already-overused to-do app example, let\'s say I want an element with a \"todo\" class (static) and an \"is-done\" class (dynamic):
In ember 1.10.0, bindAttr is deprecated. You can directly bound a variable to class of div. here the color variable is bound to the class of a div:
The inline if helper can also be used in these contexts:
http://emberjs.com/blog/2015/02/07/ember-1-10-0-released.html