Anger and problem solving
According the the Yerkes–Dodson law, a moderate level of arousal gives energy to the task, improving performance.


  The Yerkes–Dodson law is an empirical relationship between arousal and
  performance, originally developed by psychologists Robert M. Yerkes
  and John Dillingham Dodson in 1908. The law dictates that
  performance increases with physiological or mental arousal, but only
  up to a point. When levels of arousal become too high, performance
  decreases.


Anger is an emotion that creates arousal, but it is also a negative emotion that makes other people more hostile and negative. Other emotions that create positive arousal are excitement, interest, curiosity etc.