I'm trying to convert a module written using jQuery to AngularJS.
I have an ajaxSuccess
and ajaxError
handler which does an ajax response processing at the global level. It responsible for showing success/failure messages across all ajax requests.
Is there a equivalent for this in AngularJS?
I've gone through the $http
service, but haven't found any solutions.