Instead of getting angry, you can simply leave politely, and keep your dignity. That is, if you are really that sure they won't hire you. You'd have to have very clear unmistakable evidence for that.
Without such evidence, you don't know if they really won't hire you. There may be all kinds of reasons for the interviewers' behavior. In that case, just proceed.