title: Angular async pipe with RXJS : How to update given object?
body: <p>Let's pretend I have a simple observable that returns the currently connect user.</p>
  
  <p>In my template I just call the user to show his profile information.</p>
  
  <pre><code>public $user: Observable&lt;User&gt;;
  
  ngOnInit() {
      this.$user = this.userService.get();
  }
  </code></pre>
  
  <p>And my view :</p>
  
  <pre><code>&lt;div *ngIf="$user | async as u"&gt;
       ...
       &lt;ion-toggle [(ngModel)]='u.synchronized'&gt;&lt;/ion-toggle&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Display works very well, I did heard that using Angular's async pipe was better for <strong>stability</strong>, <strong>readability</strong> and <strong>performance</strong>.</p>
  
  <p>What is the best way to <code>this.userService.set(user: User);</code>? I changed some info in my user profile, but <strong>what is the best pratice to update it through the API</strong>?</p>