title: Angularjs Sessions to automatically Logout an user after a fixed time
body: <p>I have made a website in angularjs.
  Now I need to make sure that if the user has not used the website after doing LOGIN for more than  10 mins automatic logout should be done. Also the local storage associated with the website should be cleared.
  And I also need to avoid URL rewriting.
  I am new to angularjs.
  I have heard that session can have to complete these goals.
  I need a good suggestion as well as links to get the reference.</p>