Adding angular js validations
Angular validations