Wrapping around Angular $http service