#260, change ng-pattern to pattern to force client validation