Save Check Box State with Angular Js ... For back button from another page

Save Check Box State with AngularJs ... For back button from another page.

I have a complex search page that is generated via AngularJS like so

<input type="checkbox" class="checkall" id="all_types"><strong><?=lang('select_all')?></strong>  
<div class="span12" ng-controller="typesCtrl"> 
<label class="checkbox inline" data-ng-repeat="record in records">
  <input type="checkbox" class="small_checkbox" value="{{ record.type_id }}" name="auto_type[]"> {{ record.en_type_name }} ({{ record.type_count }})

After search selection is complete I check what is selected and send it to a search url

/search?auto_type=1,4,5,7

The problem is when I click back button ... the state of checkboxes and select is not saved. What is the most elegant way to save checkbox state in this scenario.