title: Angularjs ngResource '@id'
body: <p>I have a quick question.  In angular js where (like which object) does the '@id' come from in the following piece of code from a rails app?</p>
  
  <pre><code>var User = $resource("/users/:id", {id: '@id'});
  </code></pre>
  
  <p>I know it sets the default id.</p>
  
  <p>Thanks</p>