VCR inspired mocking for angular's $http and $httpBackend