title: Run a hook before $resource constructs the url?
body: <p>I want to programatically alter route parameters <em>before</em> $resource constructs the url. I cannot use angular's http interceptor to do this, since the route is already concatenated at that point.</p>
  
  <p>Given an <strong>Assortment.model.js</strong></p>
  
  <pre><code>module.exports = function($resource) {
      return $resource("", {}, {
          get: {
              url: "/assortment/:model/:id",
              method: "GET",
              params: {id: "@id", model: "@model"} //&lt; this needs to be uppercase
          }
      });
  };
  </code></pre>
  
  <p>...and some <strong>controller.js</strong></p>
  
  <pre><code>["Supplier", function(Supplier) {
      Supplier.Assortment.get({ id: 5, model: "user" })
  }]
  </code></pre>
  
  <p>How can I enforce a hook that will always convert <code>{model: "user"}</code> to <code>{model: "User"}</code></p>