Much better $http.error handling, this is really important to avoid forever loops!!!