In my project I want to use Spring Boot and Angular 2.
Spring Boot App
Solution is to relocate build output of an Angular 2 project into Spring Boot /static or /public folder.
2 Steps:
in the Angular 2 project root directory type:
ng build
(! Please note that this works for Angular 2 project generated in Angular CLI tool, for Angular 2 project not created by Angular CLI tool, the outDir is edited in tsconfig.json file )