Once you have Angular application and if you need to integrate that with spring boot application, you could do two ways.
Trigger the ng build -prod files and convert that to war file using Gradle build like below.
apply plugin: 'java'
apply plugin: 'war'
The above require manual deploying prod files which are not good when during CI CD pipeline