I'm trying to set the class attribute of my directive. That's how I do it:
the relevant code in the directive
template: '<input class="myClass" />'
scope:{
myClass = '@'
}
and that's how I call it
<my-directive my-class="someClass" />
Unfortunately, nothing happens. No errors, but the class is just not set.
Anything I'm missing ?