In the angular project I have a service that makes call into server to get login in and get back a bearer TOKEN that will be used to call to web services.
In fact, I’m using external JavaScript lib, I made some change on the lib (adding new methods the make calls to some api on order servers using that TOKEN).
What I did not figure out here, is how to pass that TOKEN from the angular service to this external JS lib?
any help is much appreciated.