I know I can access an HTTP request's GET parameters in AngularJS with
$location.search().parameterOfInterest
But how do I access HTTP headers of the request?
I'm not using $http here. I'm asking about request to an AngularJS web page.
This question and answers makes me believe this is could be not possible: Accessing the web page's HTTP Headers in JavaScript