Reputation: 3008
What's the syntax to use a pipe (async for example) in this construction:
<template let-item [ngForOf]="items">
...
</template>
P.S. I know how to use a pipe with *ngFor
but I need <template>
Thank you.
Upvotes: 2
Views: 1752
Reputation: 657536
There is nothing special
<template let-item [ngForOf]="items | somePipe">
Upvotes: 3