validation with regEx and ng-pattern