title: GET request parameters with koa-router
body: <p><a href="http://localhost:3000/endpoint?id=83" rel="noreferrer">http://localhost:3000/endpoint?id=83</a> results in 404 (Not Found). All other routes work as expected. Am I missing something here?</p>
  
  <pre><code>router
    .get('/', function *(next) {
      yield this.render('index.ejs', {
        title: 'title set on the server'
      });
    })
    .get('/endpoint:id', function *(next) {
      console.log('/endpoint:id');
      console.log(this.params);
      this.body = 'Endpoint return';
    })
  </code></pre>
  
  <p>koa-router documentation on parameters</p>
  
  <pre><code>//Named route parameters are captured and added to ctx.params.
  
  router.get('/:category/:title', function *(next) {
    console.log(this.params);
    // =&gt; { category: 'programming', title: 'how-to-node' }
  });
  </code></pre>
  
  <p>Request in angular controller:</p>
  
  <pre><code> $http.get('/endpoint', {params: { id: 223 }})
      .then(
        function(response){
          var respnse = response.data;
          console.log(response);
        }
    );
  </code></pre>