I'm trying to create a simple menu to show when clicking on a button, but I'm not able to get matMenuTriggerFor to work. You can see the whole project at https://github.com/yperess/risc16 (it's basically just a stub).
The main issue is the toolbar component:
<button mat-button [matMenuTriggerFor]="fileMenu">File</button>
<mat-menu #fileMenu="matMenu">
<button mat-menu-item>Hello</button>
</mat-menu>
Here, clicking on the File button doesn't open the menu.