navigateToRoute

navigateToRoute can be used for navigating to a route 'test/:id' using
router.navigateToRoute('test', { id: 2 });