Open new route in a new browser tab in angular 2+
Mar 2, 2021
Using angular Router class we manage our routing throughout the angular application.
serializeUrl(url: UrlTree): string : Serializes a UrlTree into a string.
createUrlTree(commands: any[], navigationExtras: UrlCreationOptions = {}): UrlTree :
Appends URL segments to the current URL tree to create a new URL tree.