title: After reload the page checkbox should not reset
body: <p>I am using Angular-Js and Jquery. I am implementing disable all checkboxes in the page after click on checkbox. But When I reload the page my page is reset, I don't want to reset disable checkboxes after reload. Suppose I checked checkbox after that reload the page checkbox should be checked.</p>
  
  <p>Below is the code example.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>$('#mainChk').on('click', function(){
    var categories = $('.disableCheck');
    categories.prop('disabled', !categories.prop('disabled'));
  });</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"&gt;&lt;/script&gt;
  &lt;input id="mainChk" type="checkbox" &gt; Main
  &lt;input type="checkbox" class="disableCheck"&gt; First
  &lt;input type="checkbox" class="disableCheck"&gt; Second
  &lt;input type="checkbox" class="disableCheck"&gt; Third</code></pre>
  </div>
  </div>
  </p>
  
  <p>When I reload the page, All checkbox is reset.</p>
  
  <p>I can use Angular-Js also. I set checkbox value in query parameter like true or false.</p>
  
  <blockquote>
    <p>$location.search({ checkbox: disableCheck.prop('disabled') })</p>
  </blockquote>
  
  <p>But I did not get desired output.</p>