Creating Google Aggregate Rating tags With Angular 4?

197 views Asked by At

I created a web site with Angular 4 and .Net WebApi
I set Google Aggregate Rating tags for it with Angular as the following:

<div class="hidden" itemprop="aggregateRating" itemscopeitemtype="http://schema.org/AggregateRating">
  Rated <span itemprop="ratingValue">4.85</span>/5 based on <span  itemprop="reviewCount">207</span> 
</div>

When the web site is coming, Angular get ratings data from web api and show it in HTML page, so at initial HTML Aggregate Rating tags are not exist. So Aggregate Rating now work correctly.

The web site: http://youtube.2tera.com/

How can I create Google Aggregate Rating tags with Angular to work correctly?

0

There are 0 answers