A bit late but I have created a starter template that shows an example of a responsive layout with Material 5 and Angular 5 as well as some simple routing.
https://github.com/kenji-1996/material-sidenav-responsive-starter
Uses Material and Flex, no outside libs