刚学就撞到墙?这是直接复制的代码,都不行......用的是1.5.3,直接在本地Tomcat下的后台项目下运行的呀
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
<title>Title</title>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/angular.min.js"></script>
</head>
<body>
<p ng-app="" ng-init="firstName='John'">
<p>在输入框中尝试输入:</p>
<p>姓名:<input type="text" ng-model="firstName"></p>
<p>你输入的为: {{firstName}} </p>
</p>
</body>
</html>
怎么回事?
Your angular project hasn’t been started yet?