title: Angular cache not caching
body: <p>Im using <a href="https://github.com/jmdobry/angular-cache" rel="nofollow">angular-cache</a> library to cache my rest query to browser in AngularJS, </p>
  
  <pre><code>angular.module('fbc')
    .service('OrganizationService', function (CacheFactory, $http) {
      // Service logic
      var settings,
      organizationCache, baseURL = "https://api.myapp.com/1";
      if (!CacheFactory.get('organizationCache')) {
        // or CacheFactory('bookCache', { ... });
        CacheFactory.createCache('organizationCache', {
          deleteOnExpire: 'aggressive',
          recycleFreq: 60000
        });
        console.log("No CacheFactory");
      }
      organizationCache = CacheFactory.get('organizationCache');
  
      settings = {
        cache: organizationCache
      };
  
      return {
        getAllOrganization: function (promise) {
          return $http.get(baseURL + '/Organization', settings)
            .then(promise);
        }
      };
  
    });
  </code></pre>
  
  <p>but every time I refresh the browser I can see <code>No CacheFactory</code> on my console it means it query every time and not using or their is no cache stored.</p>