title: How to add Cache-control header to $resource in AngularJS
body: <p>I am trying to bypass aggressive IE10 caching by setting Cache-control header to some of my GET requests.</p>
  
  <p>However, it does not seem to have a desired effect. Below you can find the code I use. Names are sanitised a bit.</p>
  
  <pre><code>service.factory('service', ['$resource',
      function($resource) {
          return $resource(url + '/:year', {year : '@year'},
              {'GET': {
                  headers : {
                      'cache-control': 'private, max-age=0, no-cache' }
              }});
      }
  ]);
  </code></pre>