ERROR TypeError: this.router.navigateByUrl is not a function code example
Example: router navigatebyurl
router.navigateByUrl("/team/33/user/11");
// Navigate without updating the URL
router.navigateByUrl("/team/33/user/11", { skipLocationChange: true });