When working with AngularJS, I know that accessing an HTTP request's GET parameters is easy using:
$location.search().parameterOfInterest
But how can I access the HTTP headers of the request?
It's worth noting that I'm not utilizing $http in this scenario. This pertains to a request made to an AngularJS web page.
This question raised doubts for me: Accessing the web page's HTTP Headers in JavaScript