Accoriding to ASA congruence rule when two angles and included side of one triangle is equal to two angles and included side of another side they the two triangles are congruent.
But according to AAS, two angles and one side of a triangle are equal to two angles and one side of another triangle then they are congruent.
Both ASA and AAS are same as if two angles of one triangle are equal to two angles of another triangle then obviously the third angles will also be same.