Using ngIf and ngFor in option
<p>I want to use ngIf and ngFor in one line. I know it is not possible but is there any other method to do this?</p>

<p>Here is my code:</p>

<pre><code>&lt;option *ngIf="tmpLanguage.id!=languages.id" 
        *ngFor="let tmpLanguage of languages" [ngValue]="tmpLanguage.id"&gt;
     {{tmpLanguage.identificatie}}
&lt;/option&gt;
</code></pre>