title: ngFor loop and ngIf loop
body: <p>I am a beginner in TypeScript. I am trying to create a loop to iterate all my series: ngFor = "let series of seriesList", and to display that have their modality equal to 'CT': ngIf = "series.instance.modality == 'CT'</p>
  
  <p>I try this : </p>
  
  <pre><code>&lt;series [series]=series *ngFor="let series of seriesList; let i = index"&gt;
    &lt;series *ngIf="series.instance.modality == 'CT'"&gt;&lt;/series&gt;
  &lt;/series&gt;
  </code></pre>
  
  <p>And this :</p>
  
  <pre><code>&lt;series [series]=series 
          *ngFor="let series of seriesList; 
          let i = index; 
          *ngIf="series.instance.modality == 'CT'"&gt;
  &lt;/series&gt;
  </code></pre>
  
  <p>///////////////EDIT//////////////:</p>
  
  <p>I try this : </p>
  
  <pre><code>&lt;ng-container *ngIf="series.instance.modality == 'CT'"&gt;
    &lt;series [series]="series" *ngFor="let series of seriesList; let i = index"&gt;
    &lt;/series&gt;
  &lt;/ng-container&gt;
  </code></pre>
  
  <p>But that can not work because I have to do my loop for before my if i think ..</p>