On click of a button, i need to open a link(for example say https://angular.io/) in new tab and pass cookie with the url. i can open the link in new tab but how to pass the