angularjs中输入表单验证
http://www.cnblogs.com/rohelm/p/4033513.html
<input type="email"
<div class="error-info">
<div class="help-block" ng-messages="formAbutmentModify.modifyEmail.$error" ng-if="formAbutmentModify.modifyEmail.$touched">
<p ng-message="required"><i class="fa fa-info-circle"></i>邮箱必填</p>
<p ng-message="email"><i class="fa fa-info-circle"></i>邮箱格式有误</p>
</div>
</div>