title: Is there anything in AngularJS that can help me get data to and from local storage?
body: <p>Some of my user screens have <code>select</code> tags looking like this:</p>
  
  <pre><code>&lt;select
     data-ng-disabled="option.subjects.length == 0"
     data-ng-model="option.selectedSubject"
     data-ng-options="item.id as item.name for item in option.subjects"&gt;
     &lt;option style="display: none" value=""&gt;Select Subject&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>Rather than show the "Select Subject" default, is there a good way that I could check local storage and retrieve a value for my <code>select</code> that was stored the last time I made a choice? </p>