It was said by a guy who has just realized that his kid has done something improperly.
Here is the sentence including the word.
Stack Exchange network consists of 181 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.Visit Stack Exchange
Japanese Language Stack Exchange is a question and answer site for students, teachers, and linguists wanting to discuss the finer points of the Japanese language. It only takes a minute to sign up.Sign up to join this community
The word here is やる 'do'.
連用形 + やがる is a way of demeaning the participator in an action. Much like -て + しまう, it indicates discontent with the fact that the action happened; but unlike with しまう, the discontent is directed primarily at the person who chose to do the action (rather than しまう's focus more on the typically unintended action itself). It can be rendered with phrases like 'had the gall to do', 'went and did', etc; though often it works to just leave it untranslated.