title: Array subscription in Aurelia
body: <p>Let's say I have an array of elements and in addition to displaying the list in my app, I want to sync the list to the server with <code>HttpClient</code>. How can I observe changes to the array? I tried:</p>
  
  <pre class="lang-js prettyprint-override"><code>@inject(ObserverLocator)
  export class ViewModel {
  
      constructor(obsLoc) {
          this.list = [];
          obsLoc.getObserver(this, 'list');
              .subscribe(li =&gt; console.log(li));
      }
  }
  </code></pre>
  
  <p>But I got neither error nor log message.</p>