Answer:
No it's not compulsory.
Explanation:
If the ratio of sides are given then that can also help you find angle. Not only that if the relationship between the perpendicular and base are given then you can find angle
E.g.
if the ratios of the sides is 5:4:3 then you can find the angle