title: How to send search id to `$resource` prodiver?
body: <p>when user lick on an element, I am changing the search params. after updating my search params, my url location changing to like this :</p>
  
  <p><code>http://localhost:3000/#/projectSummary/1?id=3</code></p>
  
  <p>now how to i send my <code>$routeParams</code> like this?<code>http://localhost:3000/#/projectSummary/1/3</code></p>
  
  <p>here is my try :</p>
  
  <pre><code>    $scope.conractorInfo = function ( contractor ) {
  
                  $location.search('id', contractor.Id); //setting id
  
                  console.log($routeParams.id) //getting `1` not 1/3 !?
  
  server.contractor.get({id:$routeParams.id+'/'+contractor.Id}).$promise.then(function (data) {
  
                      console.log(data);
  
                  });
  
              }
  </code></pre>
  
  <p>Here is my server.js</p>
  
  <pre><code>(function () {
  
      "use strict";
  
      angular
          .module("tcpApp")
          .factory("server", ['$resource', function ($resource) {
  
              var base = 'http://azvsptcsdev02:678/_vti_bin/CPMD.WEBSERVICE/ProjectInfoService.svc/';
  
              console.log(base + 'GetProjectDetails')
  
              return {
  
                  splash : $resource( base + 'GetProjectDetails'),
  
                  summary : $resource( base  + 'GetProjectByID/:id'),
  
                  contractor : $resource( base + 'projects/:id/:id')
  
              }
  
          }]);
  
  })();
  </code></pre>