add angular validation to the create pages