Reusable components in Aurelia, i.e. templates that get fed some of their (dynamic) content by the parent

I did something similar recently where I wanted to have a generic dialog component that could host any component. The dialog would essentially be told which component to render. Hopefully this helps: V2 Dialog Example - #4 by davidsk