Question: I want to use multiple class in ng-class.These classes comes from my directive.

I need something like this;

```
ng-class="item.test1 item.test2"

```

**test1** and **test2** are my css classes.

When i call like this ,it does not work.

How can i call multiple class using ng-class?

Answer: 
You can use array notation for multiple classes:

```
<my-element ng-class="[item.test1, item.test2]">Classes applied</my-element>

```

[JSFIDDLE](http://jsfiddle.net/zgaj17hL/1/)
Or you can simply use `class` for that purpose:

```
 <div class="{{item.test1}} {{item.test2}}"></div>

```