Using angles alone or sides alone for polygons
For figures other than triangles you need both conditions. A 4 cm × 3 cm rectangle and a 4 cm square have equal angles but are not similar; a square and a rhombus with the same side length have proportional sides but are not similar.