Interjection
dang it (chiefly US, informal, minced oath) An expression used to show displeasure. A less emphatic, less profane version of damnit.