For small tropicals (most tetras, danios, guppies, other small ones) it's 1 inch of ADULT fish per gallon of water, no matter what size they are when you buy them. For some fish, that rule doesn't work, because they might be territorial or like to swim really fast. Or they might be messy eaters, like piranha. Or with livebearers like guppies, if you have males and females, you might want a bigger tank because they might unexpectedly have babies and you don't want it throwing off your water quality. Sometimes you can have a little "extra" fish if you've got a type that helps clean up extra food on the bottom, like corys, in my opinion anyway.

I'm not sure what angelfish are like, so do some reasearch, and if you're only keeping one or they're peaceful and not messy eaters, the 1 inch of adult size per gallon will probably work.