Angular - Single Page Application(SPA)

In a single page application, all necessary html, JavaScript and appropriate resources are retrieved in a single load

Angular
is a single page application.When we a a transition from one page to another then the the components are dynamically initialized unlike the traditional load of other page.
Each component is mapped to a route based on the route, the component are dynamically initialized.

To understand it better if we look into any source code of a angular web application we will see that all appropriate script files/resources get downloaded in single load as shown below.

Appropriate script files/resources get downloaded in a single load

Comments