fix for angular 1.3 $http transformResponse changes (add a header getter fn)