map.component.ts code:
......
infoWindow = new google.maps.InfoWindow(
{
content: `<custom-tag></custom-tag>` //***not displaying anything***
});
infoWindow.open(map, marker);
......
map.component.html code:
<custom-tag></custom-tag> <!--***displays hi***-->
<div class="google-maps"></div>
custom-tag.component.html code:
<h2>hi</h2>
The module.ts, routing.ts files have no errors for sure. The infowindow just opens and displays nothing, Please help me in figuring out why the infowindow is not displaying anything.