I am new to Angular 7. I want to build Spring Boot+ Angular 7 application but I confused on how does Spring Boot + Angular 7 will work together. To explain my problem, I have created a sample project where I have defined rest controllers and angular application where I have created modules and defined routes. Now when I am running the Spring boot Application from inside my IDE, then I am not able to understand the behavior of the application. Some questions arising are:
1) when I start the application and hit http://localhost:8080 in browser, where would the call go , to Spring Boot Application server or angular server.
2) When I manually writing one of the route path configured in angular in the browser why the call is not going to the angular server.
An overview of how spring boot and angular work in combination would help in understanding and start writing code in the application.
As per my understanding of Angular 7 as of now, the default index.html is loaded where we specify our app-component to load and further in the app-component we specify our other components to load . In case of router configurations we simply specify <router-outlet></router-outlet>
in the app.component.html. But how does this understanding fit in when angular 7 is running in combination with Spring Boot.