title: AngualrJS: sustaining data on html refresh
body: <p>is there any way in which i can load few data into some cache in angular js and onrefresh of the page load these datas from cache and display it again? </p>
  
  <p>Right now issue is whenever i refresh the page, the details which were shared by the sharedServices app gets reinitiated since all the JS are reloaded on refresh of a page.</p>
  
  <p>I have a Login page and a home page. On success of Login, using $route i am routing to the home page and broadcasting the loginID to the Homepage controller. now when i refresh this home page or copy the url and paste in another tab, i want the same data to exist. But in my case since the htmls/javascripts are getting reloaded it getting initialized to null.</p>
  
  <p>Any angular technique available here?</p>