Reputation: 3795
angular mocke2e, how to send real ajax, not caught by httpbackend?
I may want to send both mock and real ajax in my development.
Upvotes: 0
Views: 26
Reputation: 4578
You can passThrough any call came into httpBackend with its inbuilt method.
$httpBackend.whenGET('AnyCall.html').passThrough();
Upvotes: 1