How do I pass the current variable in an ngFor loop to ngIf, if it is using templates with then/else syntax?
It appears that they pass through fine when used inline,
Here are couple more (similar) options for multiple arguments, this one includes using 'ngTemplateOutletContext' and also a condition (in 4th argument - for fun).
... should work by copy and paste ...
Context arguments demo name: {{cDemoName}}
. . . . . Context index: {{cIx}}
. . . . . Context item: --- {{ cItem }} ---
. . . . . Context is-even: {{ cIsEven }}