Reed
Reed

Reputation: 1642

Using Static HTML landing page with Angular app

Besides the added convenience, there is no reason for my landing page to be in an angular application with the added load performance overhead of loading the main bundle.

Is it possible to have a static landing page and lazy loading the rest of the angular app once the user clicks on any of the links that leave the landing page into the configured angular routes?

Upvotes: 3

Views: 1843

Answers (1)

moohkooh
moohkooh

Reputation: 927

You can build a simple landing page pure in javascript whatever. If the user click on a special link, you will call your angular application. So you have an instance response for the user, after user interaction you can load your angular application

Upvotes: 2

Related Questions