I would like to develop an application with angular2 as front end and spring boot as back end. As per my knowledge there are two ways to achive this 1) Create an angular2 app and using rest calls communicate with spring boot application. 2)Having angular2 files in resource folder of spring boot maven application as UI part.
Which is the best way.
Thanks in advance.