#Angular index.html questions

4 messages · Page 1 of 1 (latest)

elfin sail
#

Hello! I have some questions regarding the src/index.html, as I know that this is the first html that the page loads and handles app root.

First, can I change this index.html to point to a different html in a different folder? In this other folder, I have another base html which pulls in other js files to handle it's own logic. Is this possible?

Second, if I have to point to this html, how do I get my content to load the other html I mentioned above?

Thanks

clear jolt
#

It's not the first html that the page loads. It's the unique html page of the SPA (Single Page Application).
You don't load other pages in angular applications.

elfin sail
#

So from the index.html, it loads the app.component.html, which in then turn should be used to load up the html from my other folder?

elfin sail
#

Can this file be renamed?