title: I can't get details from a client he gives me [object Object] using angular and firebase
body: <p>I am a beginner in angular firebase, I followed a training, angular firebase, I want details of a client, but it gives me in the client console: [object Object].</p>
  <p><strong>list-clients.component.html</strong></p>
  <pre><code>&lt;tr *ngFor=&quot;let client of clients&quot;&gt; 
    &lt;td class=&quot;text-right&quot;&gt;
       &lt;a routerLink=&quot;/client/{{ client.id }}&quot; class=&quot;btn btn-info &quot;&gt;&lt;i class=&quot;fa fa-info-circle&quot;&gt;&lt;/i&gt;&lt;/a&gt;
    &lt;/td&gt;
  &lt;/tr&gt;
  </code></pre>
  <p><strong>client.service.ts</strong></p>
  <pre><code>getClient(id:string){
      return this.clientsCollection.doc(id).valueChanges();
    }
  </code></pre>
  <p><strong>details-client.component.ts</strong></p>
  <pre><code>ngOnInit(): void {
      this.id = this.route.snapshot.params['id'];
      this.clientService.getClient(this.id).subscribe((client:any) =&gt; {
         this.client = client;
         console.log(&quot;client est : &quot; + this.client);
       });  
    }
  </code></pre>