Some validations directives for AngularJS