title: Angular session timeout and management
body: <p>Is there any way to manage user session using Angularjs?, I mean::</p>
  <ul>
  <li>Session timeout - when system is idle.</li>
  <li>Alerts when session is near to expire with option to resume session.</li>
  <li>Redirect (or any other action) when trying to make a request if session has expired.</li>
  </ul>
  <p>Could be Interceptors one good option to solve this problem? Can you provide an example?</p>