The tables on the project I'm working on have a certain wrapper around them, so in order to avoid code duplication I'm looking for a way to create a template where each component passes an ng-template, and it gets rendered inside the custom table template.
I've tried this approach, however when trying to reproduce it on a Stackblitz, I can't seem to get it working.
I'm trying to avoid this approach, where columns are defined on the component code.