Currently its Angular 5
I have made an application in angular 5, now that I have logged in and came to the dashboard inside, I turned off my angular server, but backend(nodejs) server is still on. When I click on a link, which is a child angular route(routerLink/router-outlet) inside that dashboard, it still goes to that route. WHAT IS HAPPENING?? I thought that angular server is off, so nothing should happen, but its properly working(other than rendering some external javascript). Moreover, its also fetching data from backend!!!
Previously I thought that, when I click on a child route, the child view will come from the angular server, then renders and fetches data from backend, but its like its sending the complete Angular application on browser once its url hits on browser for the first time. I am totally confused!! I still think that this shouldn't have happened but it is!
Can somebody please explain what is happening?? Isn't it against application security!?