When the server sends 304, the browser handles it automatically and the $http receives status 200. I want to handle it myself so i don't reload my view when content has not changed.
I want to do something like this:
$http.get("api/endpoint").then(function(response){
if(response.status != 304)
//update view with response.data
}
else{
// do nothing
}
});