title: Getting ZoneAwarePromise from Firebase snapshot value
body: <p><br>
  In my component I'm calling a function from a service provider.
  Calling a get function from Firebase and what I get in the console is a <code>ZoneAwarePromise</code>. What am I doing wrong?</p>
  
  <p>In the <code>xx.component.ts</code> file:</p>
  
  <pre><code>constructor( private db: Database ) {
  
      console.log(db.getActiveUserData());
  
  }
  </code></pre>
  
  <p><code>database.ts</code> file:</p>
  
  <pre><code>getActiveUserData(){
      return this.database.child('/users/' + this.as.id).once('value').then((snapshot) =&gt; {
          return snapshot.val();
      })
  }
  </code></pre>
  
  <p>console log:</p>
  
  <p>ZoneAwarePromise
  __zone_symbol__state:true</p>
  
  <p>__zone_symbol__value
  :
  Object
  firstname
  :
  fredrik
  uid
  :
  "zLmRHwQRM0cehsSrGNXaH2WnSgk2"</p>
  
  <p><strong>proto</strong>
  :
  Object
  <strong>proto</strong>
  :
  Object</p>
  
  <p>How do I receive the data as a plain object?</p>
  
  <p>When I'm using console log inside the <code>database.ts</code>, its all fine</p>