title: Angular 2 view not updates on array change
body: <p>I have an array of objects with properties <code>name</code> and <code>age</code>. Name of the array is <code>person</code>.</p>
  
  <p>Problem is when i update the property of an element of array as :</p>
  
  <p><code>this.person[0].name = "godfather";</code></p>
  
  <p>original array is updated but component view remains as it is. I figured out the problem is angular change detection doesn't consider updation inside an array as a change. So, i tried below statement (changes reference to array):</p>
  
  <pre><code>this.person = this.person.slice();
  </code></pre>
  
  <p>I just want to know, Is using the later statement a good practice or there is some better approach to deal with the above problem?</p>