I have seen multiple examples but I am not satisfied with those answers, here is the example
const RoutesModule: Routes = [ { path: \'test/:type/:ver