Template parse errors: There is no directive with "exportAs" set to "matMenu"
The problem is with your angular version. Update your angular version to 4.4.3
or greater. Material 2.0.0-beta.11
depends on 4.4.3
or greater. From the CHANGELOG documentation:
Breaking changes Angular Material now requires Angular 4.4.3 or greater
Link to working demo.