title: angularjs ngresource save object with id, will break the url
body: <pre><code>var resource = $resource(h://xxx:9090/rest/users/:id", {id:'@id'})
  </code></pre>
  
  <p>When I post a new one (no id) , the URL will be like </p>
  
  <blockquote>
    <p>POST: h://xxx:9090/rest/users</p>
  </blockquote>
  
  <p>But when I saving an object with id, the URL will be:</p>
  
  <blockquote>
    <p>POST: h://xxx:9090/rest/users/111</p>
  </blockquote>
  
  <p>But I don't have the backend API for h://xxx:9090/rest/users/111</p>
  
  <p>How to controll this in ngresource</p>