<p dir="auto">my demo is like it:<br>
<code class="notranslate">&lt;div class="cart" *ngFor="let mealInfo of mealInfoList;let mealInfoIndex = index" *ngIf="mealInfo?.selectedCount &gt; 0"&gt;</code><br>
the *ngIf desn't work.</p>
<p dir="auto"><code class="notranslate">&lt;div *ngFor="let a of [11,12,13]" *ngIf="a == 11"&gt;&lt;/div&gt;</code><br>
the *ngFor desn't work.</p>
<ul dir="auto">
<li><strong>Angular version:</strong> 2.0.0-rc1</li>
</ul>
<p dir="auto">Based on <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="111898250" data-permission-text="Title is private" data-url="https://github.com/angular/angular/issues/4792" data-hovercard-type="issue" data-hovercard-url="/angular/angular/issues/4792/hovercard" href="https://github.com/angular/angular/issues/4792">#4792</a>, putting multiple template directives on a single element doesn't work on Angular 2. It should throw.</p>
<p dir="auto">However, this plunk demonstrates that it <em>doesn't</em> throw. Plus, we see 4 instead of 3 buttons, which is rather confusing.</p>
<p dir="auto"><a href="http://plnkr.co/edit/oK47qCG1BnQsC2Qio1ID?p=preview" rel="nofollow">http://plnkr.co/edit/oK47qCG1BnQsC2Qio1ID?p=preview</a></p>