title: Spring and AngularJS in separate projects for same application
body: <p>I am developing an e-commerce application using Spring and AngularJS with handful experience in Spring while I am new to this AngularJS world. This application will have only web version but there will be mobile version after the deployment of web app. </p>
  
  <p>Currently, I am designing my system and during my research I found some of sites including <a href="https://spring.io/blog/2015/08/19/migrating-a-spring-web-mvc-application-from-jsp-to-angularjs" rel="nofollow noreferrer">Spring Blog</a> are suggesting to create separate client side and server side application for AngularJS and Spring respectively. As server side deployment takes time it will be advantage but the disadvantage is, it requires extra effort and time while maintaining both the project for the same application. </p>
  
  <ul>
  <li>Is it good idea to have separate project for client side and server side for the same application?</li>
  <li>Also, there will be no JSP page if we separate the project, is it good idea to replace the JSP by html and connect to server via http (Spring Rest)?</li>
  <li>Can we take advantages of spring features like spring security if we separate the project?</li>
  </ul>
  
  <p><strong>EDIT</strong></p>
  
  <ul>
  <li>Is is good idea to consider Angular 2 instead of AngularJS for this application?</li>
  </ul>