实例如下:
<div class="form-group">
<div class="row clearfix">
<label for="tel1" class="col-xs-12" style="text-align: left">L张蒙号码1:
<div style="text-align: center" class="col-xs-12">
<input id="tel1" type="tel" name="tel1"
data-ng-model="vm.tel1"
ng-minlength="11"
ng-pattern="/^1[3|5][0-9]\d{4,8}$/" required
style="width: 80%;font-size: large"
placeholder="请输入号码1:"/>
required&&signUpForm.tel1.$touched">电话不能为空!