How to set headers and open a url (https://www.example.com) in new window. I've to send authentication information headers, since it senstive information it should not be part of url request parameters.
I'm using angularjs to do this.
I've gone through existing questions. Convert $.param in angularjs how to add authentication header to $window.open Open a PDF in a new window of the browser with angularjs
Solution mentioned are appending the token to the url and some are not working for me.. Please help me..