title: Angular 2 ngSwitchCase, OR operator not working
body: <p>I have multiple switch statement but for some case i need the common case. So, i am trying the</p>
  
  <p><code>OR operator =&gt; ||</code></p>
  
  <p>Example:</p>
  
  <pre><code>        &lt;ng-container [ngSwitch]="options"&gt;
              &lt;ng-container *ngSwitchCase="'a'"&gt;Code A&lt;/ng-container&gt;
              &lt;ng-container *ngSwitchCase="'b'"&gt;Code B&lt;/ng-container&gt;
              &lt;ng-container *ngSwitchCase="'c'"&gt;Code C&lt;/ng-container&gt;
              &lt;ng-container *ngSwitchCase="'d' || 'e' || 'f'"&gt;Common Code&lt;/ng-container&gt;
              &lt;ng-container *ngSwitchDefault&gt;Code Default&lt;/ng-container&gt;
          &lt;/ng-container&gt;
  </code></pre>
  
  <p><strong>Output:</strong></p>
  
  <pre><code>if case = 'd' returns Common Code
  else if case = 'e' and 'f' returns the Code Default 
  </code></pre>
  
  <p>Here the second last case consists of multiple cases, and now by default the <code>case 'd'</code> is only working and not working for <code>case 'e' and 'f'</code>.</p>
  
  <p>I can't see any multiple case inside the <code>ngSwitchCase</code> docs:</p>
  
  <blockquote>
    <p><a href="https://angular.io/docs/ts/latest/api/common/index/NgSwitchCase-directive.html" rel="noreferrer">https://angular.io/docs/ts/latest/api/common/index/NgSwitchCase-directive.html</a>
    <a href="https://angular.io/docs/ts/latest/api/common/index/NgSwitch-directive.html" rel="noreferrer">https://angular.io/docs/ts/latest/api/common/index/NgSwitch-directive.html</a></p>
  </blockquote>
  
  <p><strong>Doesn't Angular 2 supports the <code>||</code> operator in the <code>ngSwitchCase</code>?</strong></p>