In two triangles, if two pairs of corresponding angles are congruent, then the triangles are similar.
(Note that if two pairs of corresponding angles are congruent, then it can be shown that all three pairs of corresponding angles are congruent, by the Angle Sum Theorem.)

In the figure above, since
and
, by AA similarity,
.