In this angular project I'm getting this error
"Object #<Object> has no method 'always'"
when I try run this post:
var http = $injector.get('$http');
http.post(error_url, data)
.success(handleAPIResponse)
.error(handleAPIResponse)
.always(
function () {
use finally
instead. this was changed in version 1.2.0
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With