title: HttpClient not retrieving json data in Angular 6
body: <p>I'm trying to use HttpClient from Angular 6 and I have been getting some issues.</p>
  
  <p>My code looks like this:</p>
  
  <p><strong>TS</strong></p>
  
  <pre><code>btc = this.http.get&lt;any&gt;(this.btcurl).subscribe(res =&gt; this.btc = res);
  
    eth = this.http.get&lt;any&gt;(this.ethurl).subscribe(res =&gt; this.eth = res);
  
    ltc = this.http.get&lt;any&gt;(this.ltcurl).subscribe(res =&gt; this.ltc = res);
  
    progressInfoData = [
      {
        title: 'Bitcoin (BTC) Price',
        value: this.btc,
        activeProgress: 70,
        description: 'Better than last week (70%)',
      },
      {
        title: 'Ethereum (ETH) Price',
        value: this.eth,
        activeProgress: 30,
        description: 'Better than last week (30%)',
      },
      {
        title: 'Litecoin (LTC) Price',
        value: this.ltc,
        activeProgress: 55,
        description: 'Better than last week (55%)',
      },
    ];
  </code></pre>
  
  <p>As you can see, I'm getting the info from an url and then I'm saving this info in an array. The problem is when I print this info I'm not getting the json object.</p>
  
  <p><strong>HTML</strong>:</p>
  
  <pre><code>&lt;nb-card size="medium"&gt;
    &lt;nb-card-body&gt;
      &lt;div class="progress-info" *ngFor="let item of progressInfoData | async"&gt;
        &lt;div class="title"&gt;{{ item.title }}&lt;/div&gt;
        &lt;div class="value"&gt;{{ item.value.EUR }}&lt;/div&gt;
        &lt;nb-progress-bar [value]="item.activeProgress"&gt;&lt;/nb-progress-bar&gt;
        &lt;div class="description"&gt;
          &lt;bdi&gt;{{ item.description }}&lt;/bdi&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/nb-card-body&gt;
  &lt;/nb-card&gt;
  </code></pre>
  
  <p>However, If I put in html code the var directly:</p>
  
  <pre><code> &lt;div class="value"&gt;{{ btc.EUR }}&lt;/div&gt;
  </code></pre>
  
  <p>It prints the info correctly. Have you any idea why is this happen?</p>
  
  <p>Thanks in advance!</p>