title: AngularJS: How to Abort a http request that i have not yet received the response
body: <p>What i am trying to do is to cancel a request or stop listening for the response for a particular request . i cannot use a <code>timeout</code> in the request.the decision of whether to cancel  or not is done only after the request is made .I have seen solutions in ajax jQuery <a href="https://stackoverflow.com/a/446626/4260544">as found in this</a>. Is there any angular solutions for the same.i am using <code>$http</code> for making POST requests.</p>