title: JSON-LD doesn't work after API call in Angular universal
body: <p>I'm using Angular 7 and Angular universal, and am going to implement the Google Structured Data using JSON-LD.</p>
  
  <p>The JSON-LD is not static and need to get values through API.
  Btw static JSON-LD works well but after API call, it doesn't work.</p>
  
  <ul>
  <li><strong>app.component.html</strong></li>
  </ul>
  
  <pre><code>&lt;ngx-json-ld [json]="schema"&gt;&lt;/ngx-json-ld&gt;
  </code></pre>
  
  <ul>
  <li><strong>app.component.ts</strong></li>
  </ul>
  
  <pre><code>this._appService.getAPI(`${this.storyApiUrl}`).subscribe(result =&gt; {
      const json = {
            '@context': 'https://schema.org/',
            '@type': 'Article',
            'headline': result.meta.seo.title,
            'name': result.meta.seo.author,
            'datePublished': result.data.posted_on,
            'dateModified': result.data.posted_on,
         ...
      }
  ...
  </code></pre>
  
  <p>Please help me!</p>