title: Two switch case values in angular
body: <p>In php and java we can do </p>
  
  <pre><code>case 1:
  case 2:
     echo "something";
  </code></pre>
  
  <p>so that when the value is  1 or 2 "something" will be printed on the screen, i am building an angular application i am doing something like the below</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;div [ngSwitch]="data.type"&gt;
    &lt;div *ngSwitchCase="'multi-choice'"&gt;FORM 1&lt;/div&gt;
    &lt;div *ngSwitchCase="'singe-choice'"&gt;FORM 1&lt;/div&gt;
    &lt;div *ngSwitchCase="'range'"&gt;FORM 2&lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>The form which is used for single choice can be used for mutiple choice , but i tried something like below to make it more organisable </p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;div [ngSwitch]="data.type"&gt;
    &lt;div *ngSwitchCase="'multi-choice' || 'singe-choice'"&gt;FORM 1&lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>My bad luck it didnt work, can anyone suggest the better way to do this.</p>