Added angular validation to form