Created
December 21, 2019 18:47
-
-
Save NishuGoel/2d7bc5c411342d1724c4923c5d336ca4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): boolean | UrlTree { | |
const url = 'dest'; | |
const tree: UrlTree = this.router.parseUrl(url); | |
return tree; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment