In an AngularJS Controller, I need to access the OAuth 2.0 Access Token sent with the HTTP GET Request to this particular View (and therefore Controller). I want to reuse this Access Token when calling other APIs, as part of the Authorization header (Authorization: Bearer ).
Can please someone tell me how I can access data in the GET Request header inside a Controller?
Any hint is highly appreciated. Thanks, Dominik