title: How to create session inside Loopback app with an AngularJS client?
body: <p>Here is my problem :</p>
  
  <p>I'm creating a web app with loopback (great framework :) ) with an AngularJS client, everything works well but impossible to reload the page without being disconnected. This behaviour is normal, however I would like to persist the session with a "Remember me" checkbox and just avoid to be disconnect on page reload. The access token is stored in localStorage, I think I have to create a cookie on myself but the main point, how do I avoid disconnection ? And redirection to forbidden page. Then should I do this on server-side or client-side both ? I'm lost actually...</p>
  
  <p>I did start from this application on github if you wish to have a better idea of the project:
  <a href="https://github.com/strongloop/loopback-getting-started-intermediate" rel="nofollow">https://github.com/strongloop/loopback-getting-started-intermediate</a></p>