title: Angular - Assign/Store a Selected Option to Scope Variable For Use
body: <p>I have a select option with the options of yes or no.</p>
  
  <pre><code>&lt;select ng-model="selectedAnsw" ng-options="answ.text for answ in answs"&gt;&lt;/select&gt;
  
  $scope.answs = [
              {
                  text: "Yes",
                  value: Yes
              },
              {
                  text: "No",
                  value: no
              } ];
  </code></pre>
  
  <p>I want to store what the user selects in <code>$scope.selectedAnsw</code> and have it save + populate the select.  So if the user selects <code>No</code> and then navigates to a different page and comes back to yes/no page <code>No</code> is preselected because they selected it a bit ago/it was stored.  I don't need to keep the selection forever, just during this session.  Thinking this might have to do with $rootScope + ng-select.</p>