Extension `setClass` directive to use an object with set of classes as a parameter

Angular `ng-class` directive can take an object as a parameter. I think It's very usefull:

```html
<span set-class="{'text-warning': isWarn, 'text-error': isErr}">sometext</span>
```