AngularJS with Spring-mvc [closed]
Two cases:
Your architecture is full client-side: In this case the integration is very natural. Spring MVC exposes your service as a REST (JSON/XML) and your client application with AngularJS consumes your JSON. Here the .war application (Spring MVC) must be deployed in a servlet container (e.g. Tomcat) and your client application can be deployed in the same server or in a HTTP server like Nginx or Apache.
You want to keep page generation in the server-side and only use AngularJS for some DOM manipulation so your code must be deployed in the same .war (inside the WEB-INF/ folder).
Mixing the two approaches in not always a good idea. You can try Thymeleaf to stay in server-side page generation and at the same time have templating, testability and clean View code.
Just set angular.js files as static files . There should be nothing private there anyway.
Use Spring MVC as a REST Service provider instead of JSP/Velocity/Any other Template view resolver.
You have sample projects on the folowing sites:
If you like to learn by example you can try to generate some code with jhipster: https://jhipster.github.io/