My angular app, which is an ssr, calls an API to get the product name, then I display it in the H1 tag like below
<h1> {{product.name}} </h1>
but When I check my view source page (ctrl + u ) the tag is empty. I think It is because SSR creates html template without waiting for API call. the Problem is: "When ssr sends me html, I want to make sure the h1 tag is not empty so that a crawler can find it for SEO purposes." I search about it but cant find any solution.