I have been creating a custom datatable component using cdk table functionalities. Row and header definitions were supposed to be outside the component. So i have put an ng-cont