Sample showing ng-pattern