A lot of people's depression starts in childhood and anger might be a factor. Anger that you can't verbalize as a child being in an unhappy situation that you have no control over. Overt anger in adulthood can be a factor in many illnesses. It can even be the root of a larger condition.
I also do not believe depression is anger turned inward. You might want to read some articles about what causes depression in childhood.