AngularJs and Spring Integration
The purpose of this tutorial is to perform an integration between AngularJs and Spring MVC and to demonstrate how easy to use AngularJs with Spring is.
Include AngularJS in Spring MVC Project
2. Include AngularJS javascript files under your resources folder and jsp. See previous post
Try AngularJs!
Copy below codes on your jsp
<script src="<c:url value="/resources/libs/angularjs/1.3.14/angular.min.js" />"></script>
<body>
<div ng-app="">
<p>Name : <input type="text" ng-model="name"></p>
<h1>Hello {{name}}</h1>
</div>
</body>
http://www.w3schools.com/angular/tryit.asp?filename=try_ng_default
<body>
<div ng-app="">
<p>Name : <input type="text" ng-model="name"></p>
<h1>Hello {{name}}</h1>
</div>
</body>
http://www.w3schools.com/angular/tryit.asp?filename=try_ng_default
AngularJS Documentation
AngularJS works perfectly in jsp file. AngularJS tutorial and documentation ( https://docs.angularjs.org/guide )