Adding auth headers (username, password) to AngularJS $http methods -- From http://blog.tomaka17.com/2012/12/random-tricks-when-using-angularjs/