title: Fill select element using Angular based on query string parameter
body: <p>I need to fill select element with data retrieved from web api</p>
  
  <p>I use attribute routing for web api</p>
  
  <pre><code>api/project/{pid}/users
  </code></pre>
  
  <p>It works fine, if when pass parameter pid manualy. </p>
  
  <p>I need to pass parameter through querystring using angular $http.get()</p>
  
  <p>I tried this</p>
  
  <pre><code>this.getItems = function () {
     return $http({
          url: '/api/project/{pid}/users',
          method: 'GET',
          data: $.param({pid:123})
      });
  
  }
  </code></pre>
  
  <p>In fiddler I got 404 error. </p>
  
  <pre><code>http://localhost/api/project/%7Bpid%7D/users
  </code></pre>
  
  <p>I read about $location.$Search and $routParam, but I need additional help.</p>