How to serve an Angular (>2) frontend application using a Java Spring Boot application as the backend and static page web server, and a Gradle script to perform automated build and deploy tasks both for Spring and Angular.
http://blog.marcnuri.com/angular-spring-boot-integration-gradle/