Css 未捕获类型错误:无法读取属性'$$矿工';未定义的
我得到了这个错误,我的验证工作不正常。我使用下面声明的CDN。我的数据存储在localstorage中Css 未捕获类型错误:无法读取属性'$$矿工';未定义的,css,angularjs,html,Css,Angularjs,Html,我得到了这个错误,我的验证工作不正常。我使用下面声明的CDN。我的数据存储在localstorage中 Uncaught TypeError: Cannot read property '$$minErr' of undefined (anonymous function) @ angular-resource.js:8 (anonymous function) @ angular-resource.js:6 我使用这个CDN <script src="https://a
Uncaught TypeError: Cannot read property '$$minErr' of undefined
(anonymous function) @ angular-resource.js:8
(anonymous function) @ angular-resource.js:6
我使用这个CDN
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.7/angular-resource.min.js"></script>
下面是我的Html表单
<div> <input id="email"
class="form-control"
type="email"
name="email"
ng-model="user.email"
pattern="[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,3}$"
placeholder="Enter Your Email"
required
/>
<span ng-show="myForm.email.$dirty && myForm.email.$invalid" class="color">Invalid Email address.</span>
<span ng-show="myForm.email.$dirty && form.email.$error.required">
Email is required
</span>
</div>
<div> <input type="password"
class="form-control"
ng-minlength="5"
ng-maxlength="10"
ng-model="loginCtrl.user.pass"
name="pass"
id="pass"
placeholder="Enter Your Password"
required
/>
<span ng-show="myForm.pass.$dirty && myForm.pass.$error.required" class="color">Required!!!</span> <br>
</div>
<div align="center">
<input ng-click="myFun()"type="submit" class="btn btn-success" ng-disabled="myForm.$invalid" value="Login" >
</div>
无效的电子邮件地址。
电子邮件是必需的
必需的
您尚未加载角度传感器。在包含角度资源之前包含angularJS cdn
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.5/angular.min.js"></script>
获取相同错误“SCRIPT5007:无法读取未定义或空引用angular-animate.js(63,1)的属性“$$Miner”。在angular-animate.js和angular-resource.min.js之前包含angular.min.js解决了我的问题。