Is it possible to combine the *ngFor directive with content projection?
For example: ...
@Component({
selector: 'test',
template: `
<div>
<ng-content *ngFor="..."></ng-content> // <-- Phantasy example
</div>
`
})
export class TestComponent {
}
...
<test>
<p>Hello World</p>
</test>
...
So the result in the DOM after compiling might look like:
<test>
<p>Hello World</p>
<p>Hello World</p>
<p>Hello World</p>
</test>