I have the component and have a problem setting the css class to it.
I want it to always have a class of \"box\", then to have additional classes specified by the directive
Another way to do this without double curly braces and includes scope variables, tested with angular v1.2+.
It's also rather nice because the variable can use different types as a index without increasing complexity using ternaries. It can also remove any need for negations ;)
Here is a fiddle link