FORCDK-CHECKBOX-001
Thrown by forty-cdk/checkbox.
[forty-cdk/checkbox] FORCDK-CHECKBOX-001: ForCheckboxIndicator must be used inside a [forCheckbox] element.
Cause
No FOR_CHECKBOX provider is visible from ForCheckboxIndicator. 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 ForCheckboxIndicator inside a [forCheckbox] element, declaring any ng-template it lives in there too.