title: How to get logged user with Angular?
body: <p>Maybe I am missing something very trivial, but I can't find an answer.</p>
  
  <p>I am implementing a webapp based on nodejs, express and angular for the client side. 
  I handle my signup and sessions through passport.js. Therefore, server-side, I can access the logged user through <code>request.user</code>.
  Now, I have a logged user which goes on its profile page, displayed through an angular view.</p>
  
  <p>Here is the issue: In order to show them user information now I am thinking to send an <code>$http</code> request to the server, which takes the user from <code>request</code> and sends it back to the client where it is displayed. However, this sounds weird to me.</p>
  
  <p>So here is my question: Is there any way to access the user in the session thruogh angular? If so, what user information is actually stored in the client?</p>
  
  <p>Thanks in advance, and apologies if this is something too trivial to be asked:/</p>