Adding angular validation.