I'm playing around with Angular's (version 7) content projection. As far as I know, it's possible to select by attribute, class, and tag with the select attribute of <ng-content>.
I've also tried to select by id:
<ng-content select="#myID"></ng-content>
From:
<mycomponent>
<div id="myid">
Test
</div>
</mycomponent>
But it doesn't seem to work.
Why does the selection of IDs not work?