function FedrampDataService () {
                var self = this;

                /**
                 * Stores cache storage data.
                 */
                self.load = load;

                /**
                 * Used for testing so there is something there initially. This will be
                 * overidden every time in production.
                 */
                self.all = function () {
                    return [];
                };

                /**
                 * Takes the contents of a storage factory object and adds its properties and methods
                 * to this current object.
                 */
                function load (storage) {
                    angular.extend(self, storage);

                    // If we enable caching globally when configuring fedrampDataProvider,
                    // we wrap all data returning functions with a cache wrapper.
                    if (provider.defaults.cache) {
                        self.products = Cache.wrap('products')(storage.products);
                        self.providers = Cache.wrap('providers')(storage.providers);
                        self.assessors = Cache.wrap('assessors')(storage.assessors);
                        self.agencies = Cache.wrap('agencies')(storage.agencies);
                    }
                }
            }
/**
             * Fedramp Data Service is a service used to store queried information to be used by any component, service or 
             * factory. The intent is to have an object that can be passed around containing a cache of previously obtained data.
             *
             * This should be cached up front.
             */
Fedramp Data Service is a service used to store queried information to be used by any component, service or
factory. The intent is to have an object that can be passed around containing a cache of previously obtained data.

This should be cached up front.
Fedramp Data Service is a service used to store queried information to be used by any component service or factory . The intent is to have an object that can be passed around containing a cache of previously obtained data . This should be cached up front .
function FedrampDataService () {
                var self = this;
                self.load = load;
                self.all = function () {
                    return [];
                };
                function load (storage) {
                    angular.extend(self, storage);
                    if (provider.defaults.cache) {
                        self.products = Cache.wrap('products')(storage.products);
                        self.providers = Cache.wrap('providers')(storage.providers);
                        self.assessors = Cache.wrap('assessors')(storage.assessors);
                        self.agencies = Cache.wrap('agencies')(storage.agencies);
                    }
                }
            }
function FedrampDataService ( ) { var self = this ; self . load = load ; self . all = function ( ) { return [ ] ; } ; function load ( storage ) { angular . extend ( self , storage ) ; if ( provider . defaults . cache ) { self . products = Cache . wrap ( 'products' ) ( storage . products ) ; self . providers = Cache . wrap ( 'providers' ) ( storage . providers ) ; self . assessors = Cache . wrap ( 'assessors' ) ( storage . assessors ) ; self . agencies = Cache . wrap ( 'agencies' ) ( storage . agencies ) ; } } }
Fedramp Data Service is a service used to store queried information to be used by any component, service or
 factory.
Fedramp Data Service is a service used to store queried information to be used by any component service or factory .
/**
                 * Stores cache storage data.
                 */ /**
                 * Used for testing so there is something there initially. This will be
                 * overidden every time in production.
                 */ /**
                 * Takes the contents of a storage factory object and adds its properties and methods
                 * to this current object.
                 */ // If we enable caching globally when configuring fedrampDataProvider, // we wrap all data returning functions with a cache wrapper.