title: how to clear browser cache using angularjs or javascript?
body: <p>I developed the application with angularjs and C program. When API with C program change the data, view should be change. But after refreshing the page also new data is not updating in view.</p>
  
  <p>When I am clearing browser's cache manually, my new data is getting updated in view. So the problem is with cache only.</p>
  
  <p>In solution for this issue, I have added following HTML tags.</p>
  
  <pre><code>        &lt;meta http-equiv="cache-control" content="max-age=0" /&gt;
          &lt;meta http-equiv="cache-control" content="no-cache" /&gt;
          &lt;meta http-equiv="cache-control" content="no-store" /&gt;
          &lt;meta http-equiv="expires" content="0" /&gt;
          &lt;meta http-equiv="expires" content="-1" /&gt;
          &lt;meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT" /&gt;
          &lt;meta http-equiv="pragma" content="no-cache" /&gt;
  </code></pre>
  
  <p>These is working, but sometimes it fails, and again catching the cache data.</p>
  
  <p>So please know, if is there any another solution using AngularJS or JavaScript?</p>
  
  <p>Thanks in advance!</p>