I\'m using Angular cli to build an application, I need to get the path of router, and then use it in Module(not component), Code as below.
app-routing.mod