Node route not rendering correct URL
<p>I'm building a MEAN stack app but am running into an issue where Angular isn't able to recognize the module at my rendered url so it's throwing an error and crashing before it can perform my front-end get request.</p>

<p>I wrote this code in my routes/index.js file where <code>table</code> is the view page. </p>

<pre><code>router.get('/table/user/:id', function(req, res){
  User.findById(req.params.id).populate('entries').exec(function(err, entries){
    if(err){
      console.log(err)
    } else {
      res.render('table', { entries: entries})
    }
  });
});
</code></pre>

<p>Angular CAN perform the get req when it hits the url <code>/table</code> but the route is going to <code>/table/user/203029384029384</code>, the url of my Node request.  I feel like this should just be rendering <code>/table</code> but it's not.</p>

<p>What I need if for the router.get at <code>table/user/:id</code> to render <code>/table</code>. Seems like this code should do that, no? PLMK if I need to add any other project code for explanation.</p>