This repository will help you to understand the routing in angular 6. I have created code step by step you browse my blog http://www.postnidea.com/2018/08/angular-6-tutorial-for-routing-and-navigation_21.html.
For more help you can also view my video on youtube https://youtu.be/ljkhCvNwJQ4