So, in the sidenav-list.component.html file, we need to add the following code below the last anchor tag:
unfold_moreExample
For this to work, we need to register MatMenuModule:
import { …, MatMenuModule } from '@angular/material';
imports: [
MatMenuModule,
exports: [
MatMenuModule,