UNPKG

grunt-html2js

Version:

Compiles AngularJS templates to JavaScript

5 lines (4 loc) 264 B
<form> <span class="registration-error" ng-show="regForm.password.$error.pattern">- Fail to match..</span> <input type="password" ng-model="registerForm.password" name="password" ng-pattern="/^.*(?=.{8,})(?=.*[a-z])(?=.*[A-Z])(?=.*[\d\W]).*$/" required/> </form>