What is the 'Angular' way to retrieve incoming request headers? I'm not asking how to set headers in the request or response of an Angular Application.
For example in the following request, How to retrieve the token
header within my Angular controller:
curl 'http://localhost:3000/index.html' -H 'token: mytoken'