title: Hold data between pages in angular js
body: <p>I am new to angular js.Please suggest which one is better . I have a page where I can select a no of check boxes and navigate to 2 nd page.I want to show the checked values when I press back button in browser.
  Which one is better using $rootScope or stateparam or localstorage.Please consider performance also.</p>