title: Angular2 - Object toString method
body: <p>I noticed an interesting application to add toString this object, I wonder if it's a good solution? Is this expected behavior template interpolation?</p>
  
  <p>For example:</p>
  
  <pre><code>class Person {
     name: string;
     surname: string;
  
     toString(): string {
         return this.name + ' ' + this.surname;
     }
  }
  </code></pre>
  
  <p>When we display this object in template, insted of [object Object] we see toString method result.</p>
  
  <pre><code>Username: {{ person }} // Result "Name Surname" insted of "[object Object]"
  </code></pre>
  
  <p>What do you think about it? I know that this is due to the fact that the angular convert object to string, but is it good to use this solution?</p>