I am very new to angular js. In my project the scenario is given below:

There are 2 classes named style1 and style2.

Requirement is applying 2 styles with `ng-class` attribute in the template itself .
I am not using separate function for this, but a boolean value named 'bool' which is dynamic.

The following are conditions

> 
> if (bool) then the style1 & sytle2 applies   
> 
>  else style1 is applies.
> 
> 
> 

eg:

```
<input ng-class="something"/>

```

each one class value is assigned my cases more than 1 class value is need assign.

Please help me to put this logic in the `ng-class`. I tried so many ways but no use.