The best tutorial I found that installs Angular 2 with spring boot is thie Angular2 and spring Download
In this tutorial, he uses maven modules. One for spring backend and one for angular2 interface.
So, to go to option 2, you can simply use Angular cli in the tutorial and point it to the resource folder (preferably the one you are creating ... i.e. ui resources or something else), then configure this as a resource in your maven pom.xml. i.e.
<resource> <directory>src/main/ui-resources</directory> <excludes> <exclude>node_modules/**</exclude> </excludes> </resource>
Hope this helps!
Gary mcguire
source share