title: AngularJS need to store userdata , should be available to entire application
body: <p>I need to store userdata, should be available to entire application, should be accessible to required controllers, after searching I found a few options to store.</p>
  
  <ul>
  <li>using a service to controllers</li>
  <li>$sessionStorage</li>
  <li>$localStorage</li>
  </ul>
  
  <p>of all the above could u please tell me which is the best practice? Or is there any other solution other than the above 3. </p>