What is the best way to tackle an HTTP error like 500 when utilizing AngularJS "http get then" construct (promises)?
$http.get(url).then(
function(response) {
console.log('get',response)
}
)
The issue here is that for any non-200 HTTP response, the inner function does not get executed.