You can't really use Angular features in the index.html. I would suggest a different approach to the structure of your application.
Define your app-root component to only be a router-outlet. Then build a shell component with your menu, header, and any other styles you want for your "home".
You can then route any pages you want without the styles directly into the app-root's router-outlet and any pages you want with your style to the shell component.
I have an example set up this way here: https://github.com/DeborahK/MovieHunter-routing
app.component.html
<router-outlet></router-outlet>
shell.component.html
<mh-menu></mh-menu>
<div class='container'>
<router-outlet></router-outlet>
</div>