Use Angular 2
When i do it:
<ul>
<template *ngFor="let flag of [1,2,3,4]">
<li *ngIf="flag == 1">
some data
</li>
</template>
</ul>
I get it
<ul>
<!--template bindings={
"ng-reflect-ng-for-of": "1,2,3,4"
}-->
<!--template bindings={}-->
<!--template bindings={}-->
<!--template bindings={}-->
<!--template bindings={}-->
</ul>
And it display nothing.
I need to display <li>
in *ngFor only when item.flagsExplain[flag]
is set