*Before install nodejs and npm
Create a new Java Web Application in intellij
Edit the created index.jsp and set a title and some content
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
Add in a new runtime configuration to launch the web application in tomcat. (Make sure to add the war:exploded to deployment)
Start it up to insure your page is rendered.
Next step open the Terminal Tab of intellij
git clone --depth=1 https://github.com/angular/angular-seed.git
rm -rf .git
mv angular-seed/ angular
Finally add the angular/app folder to your deploy.
Select the web module facet in the module you have created and add the app folder to the /app path
restart the app server from intellij
head to localist:8080/app to run the angular seed part of the application.