CRISIL interview question

How can you validate the angular forms?