请建议我做错了,电子邮件的验证似乎无效。
<form name="register" ng-submit="submit()" class="form-signin" novalidate>
<h1 class="form-signin-heading text-muted">Register</h1>
<input name="eMail" ng-model="email" type="email" class="form-control" placeholder="Email address" required>
<p class="help-block" ng-show='register.eMail.$dirty && register.eMail.$inavlid'>Please enter a valid email address</p>
<input name="password" ng-model="password" type="password" class="form-control" placeholder="Password" required="">
<button class="btn btn-lg btn-primary btn-block" type="submit">
Submit
</button>