angularJS 프로젝트에서 오류가 발생했습니다. 저를 도와주세요?내 angularjs 프로젝트에서 구문 오류가 발생하는 이유
오류
angular.min.js : 117Error : [$ 파싱 : 구문] http://errors.angularjs.org/1.5.6/ $ 파싱/구문의 shoping P0 = P1 = & 인 20an % % % 20unexpected 20token & P2 = 8 & P3 = 온라인 % 20Shoping % 20 % 20login & P4 =의 shoping % 20 % 20login 로컬 호스트에서 오류 (기본) 에서 : 8082/onlineshopping/angular.min.js : 6 : (412) Object.s.throwError에서 (로컬 호스트 : 8082/onlineshopping/angular.min.js : 228 : 143) at Object.s.ast (localhost : 8082/onlineshopping/angular.min.js : 220 : 47) at Object.td.compile (로컬 호스트 : 8082/onlineshopping/angular.min.js : 229 : 420) at kc.parse (로컬 호스트 : 8082/onlineshopping /km.min.js:258:213) at g (로컬 호스트 : 8082/onlineshopping/angular.min.js : 125 : 278) (로컬 호스트 : 8082/onlineshopping/angular.min.js : 105 : 129)) 로컬 호스트 $ (AT : 8082/onlineshopping/angular.min.js : 77 : 397) $의 B에서 (로컬 호스트 : 8082/onlineshopping/angular.min.js : 61 : 398)
My HTML Code
<!DOCTYPE html>
<html>
<head>
<title>Online Shopping - Login Page</title>
<script src="angular.min.js"></script>
<!-- <link rel="stylesheet" href=".\WEB-INF\lib\css\Styles.css"/> -->
</head>
<body ng-app>
<div style="text-align:center">
<h1>{{Online Shoping - login}}</h1>
<form action="login_submit" name="login" method="get">
Email Address: <input type="email" placeholder="[email protected]" required/><br><br>
Password: <input type="password" placeholder="password" required/><br><br><br>
<input type="submit" value="Login"/>
</form>
</div>
</body>
</html>
'온라인 쇼핑'은 유효한 변수 이름이 아니므로 Angular는 유효하지 않은 두 변수 '온라인'과 '쇼핑'을 차례로 해석하려고 시도합니다. –
AngularJS를 처음 사용했습니다. 나는 상세히 조사하지 않았다. 이제 알았어. 고마워 패트릭. –