title: How to get object passed into view from Node for use in Angular?
body: <p>node    </p>
  
  <pre><code>app.get('/profile', function(req, res) {
      res.render('profile.ejs', { authUser : req.user });
  });
  </code></pre>
  
  <p>angular</p>
  
  <pre><code>function Ctrl($scope) {
      $scope.user = authUser; // from the view
  }
  </code></pre>
  
  <p>I need access to the authUser in the Angular code. I'm familiar with using $http.get to get data from a res.json(...), but am not sure how to do it in this scenario.</p>