FORCDK-TABLE-006
Thrown by forty-cdk/table.
[forty-cdk/table] FORCDK-TABLE-006: ForTableColumnLabel must be used inside a [forTableHeaderCell] element.
Cause
No ForTableHeaderCell provider is visible from ForTableColumnLabel. Angular resolves a directive's dependencies at the template's declaration site rather than where it is stamped, so a piece declared in an ng-template outside the root resolves nothing even when it renders inside it.
Fix
Move ForTableColumnLabel inside a [forTableHeaderCell] element, declaring any ng-template it lives in there too.