Using wdHttp instead $http in angular-resources