General expressions for the longitudinal and transverse resistivities of single-crystalline cubic and tetragonal ferromagnets are derived from a series expansion of the resistivity tensor with respect to the magnetization orientation. They are applied to strained (Ga,Mn)As films, grown on (001)- and (113)A-oriented GaAs substrates, where the resistivities are theoretically and experimentally studied for magnetic fields rotated within various planes parallel and perpendicular to the sample surface. We are able to model the measured angular dependences of the resistivities within the framework of a single ferromagnetic domain, calculating the field-dependent orientation of the magnetization by numerically minimizing the free-enthalpy density. Angle-dependent magnetotransport measurements are shown to be a powerful tool for probing both anisotropic magnetoresistance and magnetic anisotropy. The anisotropy parameters of the (Ga,Mn)As films inferred from the magnetotransport measurements agree with those obtained by ferromagnetic resonance measurements within a factor of two.