Add naiive $httpBackend handling for POST and PUT requests