I created an Angular component that is a bottom navbar from bootstrap, I would like to call this component after the body because as it is said here https://getbootstrap.com/docs/3.3/components/#navbar-fixed-top "The fixed navbar will overlay your other content, unless you add padding to the bottom of the body"
My problem is that when i try to call my component in the file index.html it is just ignored :
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Infotel Quotation</title>
<base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico">
</head>
<body>
<app-root></app-root>
</body>
<app-bottom-bar></app-bottom-bar>
</html>
I only can call it from app.component.html but if i do that, my component will be in the body
I tried to moved the <body> </body>
in the app.component.html file but it doesn't work
My simple app.component.html :
<router-outlet></router-outlet>
Any help would be appreciated