text: 'use strict';
  
  let angular = require('angular');
  
  module.exports = angular.module('spinnaker.deck.gce.backendService.reader.service', [
      require('../../core/api/api.service.js'),
      require('../../core/cache/infrastructureCaches.js'),
    ])
    .factory('gceBackendServiceReader', function (API, infrastructureCaches) {
  
      function listBackendServices () {
        return API
          .all('search')
          .useCache(infrastructureCaches.backendServices)
          .getList({q:'', type: 'backendServices'});
      }
  
      return { listBackendServices };
    });
  