title: How to use gon.watch with angularjs
body: <p>I using <a href="https://github.com/gazay/gon" rel="nofollow">gon</a> gem in my app. </p>
  
  <pre><code>@users = User.all
  gon.watch.users = @users
  </code></pre>
  
  <p>And i using angular to display list of users </p>
  
  <pre><code>&lt;div ng-repeat = "user in users"&gt;
    {{ user.name }}
  &lt;/div&gt;
  </code></pre>
  
  <p>in Angular Ctrl:</p>
  
  <pre><code>gon.watch('users', interval: 1000, renewUsers) 
  </code></pre>
  
  <p>The question is what i should write within <code>renewUsers</code> function to update list of users inside my ng-repeat</p>
  
  <pre><code>renewUsers = (...) -&gt;
    ...
  </code></pre>