title: NgIf a parameter is a certain value
body: <p>I have an application in which you can add or edit values to a database.</p>
  
  <p>When I'm editing values I want certain parameters to only show up when the value of <code>StatusCodes</code> has a certain value.</p>
  
  <p>Html code: </p>
  
  <pre><code>&lt;form class=form-group&gt;
      &lt;td&gt;&lt;label&gt;Status Code&lt;/label&gt;&lt;/td&gt;
      &lt;input type="text" #StatusCode (ngModel)="StatusCodes" value="{{StatusCodes}}"&gt;
  &lt;/form&gt;                                         
  
  &lt;form class=form-group&gt;
      &lt;td&gt;&lt;label&gt;Eta&lt;/label&gt;&lt;/td&gt;
      &lt;input type="text" #Eta (ngModel)="Etas" value="{{Etas}}"&gt;
  &lt;/form&gt;
  &lt;form class=form-group&gt;
      &lt;td&gt;&lt;label&gt;Etd&lt;/label&gt;&lt;/td&gt;
      &lt;input type="text" #Etd (ngModel)="Etds" value="{{Etds}}"&gt;
  &lt;/form&gt;
  &lt;form class=form-group&gt;
      &lt;td&gt;&lt;label&gt;Ata&lt;/label&gt;&lt;/td&gt;
      &lt;input type="text" #Ata (ngModel)="Atas" value="{{Atas}}"&gt;
  &lt;/form&gt;
  &lt;form class=form-group&gt;
      &lt;td&gt;&lt;label&gt;Atd&lt;/label&gt;&lt;/td&gt;
      &lt;input type="text" #Atd (ngModel)="Atds" value="{{Atds}}"&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>For example I want the Eta form to appear when the value of StatusCode is xxx.</p>
  
  <p>Something like this:</p>
  
  <p><code>&lt;form class=form-group *ngIf="StatusCodes == 'xxx'"&gt;</code> </p>
  
  <p>What is the correct syntax for this?</p>