title: AngularJS resource: how to disable url entity encoding
body: <p>On my current project I have a drupal backend that exposes rest services for my frontend.
  Some calls to my backend don't really like url entities to get encoded. </p>
  
  <p>So my question is: how do I disable URL encoding of some parameters?</p>
  
  <p>Example:</p>
  
  <p>I need to call my backend with a "+"-sign between different search terms. Like so:</p>
  
  <pre><code>http://backend.com/someservice/search/?terms=search+terms+here
  </code></pre>
  
  <p>But angular, setup like so:</p>
  
  <pre><code>var resource = $resource(
    backendUrl + '/views/:view', {},
      {
        'search': {params:{view:'searchposts'}, isArray:true}
      }
   );
  
  // search posts for the given terms
  this.searchPosts = function(terms, limit) {
    resource.search({search:terms.join('+'), limit:limit});
  };
  </code></pre>
  
  <p>Calls the following url:</p>
  
  <pre><code>http://backend.com/someservice/search/?terms=search%2Bterms%2Bhere
  </code></pre>
  
  <p>Any suggestions? Thanks!</p>