AngularJS - $cancelRequest not available in $resource
问题 I am trying to fire abort request however, I am not getting $cancelRequest object in result of $resource . But, I am able to get $promise and $resolved objects. Why is this happening? How can I get this $cancelRequest ? PS: I'm using AngularJS 1.5 UPDATE : After some trial and errors I found that it was not working just because I was using AngularJS 1.5 rc 0. Now when I used AngularJS 1.5 rc 2. which is the current latest, it just worked. 回答1: According to documentation, it is only available