title: Attribute [ngSwitch] is not allowed here, this is what IntelliJ IDEA 2016 tells me for an Angular2 template, why?
body: <p>Everything seems to work fine, I have intellisense and such. However, when I run precommit inspections I have tons of warnings, like:</p>
  
  <pre><code>Warning:(8, 58) Attribute [ngSwitch] is not allowed here
  Warning:(9, 42) Attribute [attr.for] is not allowed here
  Warning:(10, 14) Attribute *ngSwitchCase is not allowed here
  Warning:(11, 32) Attribute *ngFor is not allowed here
  Warning:(12, 38) Attribute [attr.for] is not allowed here
  ...
  </code></pre>
  
  <p>And so forth and so forth.</p>
  
  <p>How do I instruct the IDEA that these are fine? I do not want to disable the inspection blindly, but not sure if there is a way to avoid it.</p>
  
  <p><strong>EDIT 1</strong></p>
  
  <p>I have AngularJS plugin already installed:
  <a href="https://i.stack.imgur.com/dwsTA.png" rel="noreferrer"><img src="https://i.stack.imgur.com/dwsTA.png" alt="enter image description here"></a></p>