FORCDK-DROPDOWN-MENU-001
Thrown by forty-cdk/dropdown-menu.
[forty-cdk/dropdown-menu] FORCDK-DROPDOWN-MENU-001: [forDropdownMenuTrigger] could not resolve its [forDropdownMenu] root.
Cause
No FOR_MENU_CONTEXT provider is visible and no explicit root was passed. 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 [forDropdownMenuTrigger] inside the [forDropdownMenu] element, or pass the root explicitly: [forDropdownMenuTrigger]="root" with #root="forDropdownMenu".
Where it comes from
projects/forty-cdk/dropdown-menu/src/dropdown-menu-trigger.ts:39