chore(validation/type): add directive to validate view value

related to CAM-3002