How to set HTTP headers in AngularJS using $http service?
When performing an HTTP transaction in any application, there are times when you will need to add/read headers to/from requests and responses respectively. Most common use case is to add authentication...