I have get a request from an API, some times I would get the EXIF information, but sometimes I will get error message {"error":"no exif data"}
How can I hide this error message.
In chrome, the error is 400 (Bad Request)
$http.get(res.getQNUrl(domain, key, "exif"))
.success(function(data){
$scope.imageExifMap[key] = data
}).error(function(data,status,headers,config){})