Answer:
Arson is when you intentionally set fire to any structure or building. So no, it doesn't matter if you did it out of anger or not. If you did it on purpose it's arson.
Another View: Arson is defined as the unlawful burning of property. Aggravated Arson would be an enhanced charge and could be used if the perpetrator intentionally torched a building with the esxpress intent of not only destropying the building but, in addition. causing pain, injury, death, or loss of livliehood to the occupants, owners, or responders.