I made a header component in order to keep my header consistent throughout the website so that I dont have to write the header code repeatedly. On placing the selector in the index.html file, I couldn't see the result. Please tell the correct way to do that
index.html file
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>stuff</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-header></app-header>
<app-root></app-root>
</body>
</html>
i just have a paragraph tag saying 'header works' in my headerComponent and it is all generated by angular-cli, no modifications made.