directive to enforce a regex pattern if ng-required is true
validates create league form