When we use angular routing,can another component be loaded in the main HTML page instead of root-app component according to the given route?
2 Answers
You can change default page from index.html to different page in angular.json. You could also change the selector in index.html from root-app to any other component. You can also use a router outlet
1 Comment
Akhil Jain
Give practical working code to do all those things, instead of you can do this or that.