Multiple conditions in ngClass - Angular 4 : <p>How to use multiple conditions for ngClass? Example: </p>

<pre><code>&lt;section [ngClass]="[menu1 ? 'class1' : '' || menu2 ? 'class1' : '' || (something &amp;&amp; (menu1 || menu2)) ? 'class2' : '']"&gt;
</code></pre>

<p>something like this. I got same class for 2 menus,  and I need class when one of those menus is true and 'something' is true. Hope I explained well enough</p>
