text: 'use strict';
  
  const angular = require('angular');
  
  module.exports = angular.module('spinnaker.deck.gce.loadBalancer.hostAndPathRules.controller', [
      require('./hostAndPathRules.service.js').name
    ])
    .controller('gceHostAndPathRulesCtrl', function(hostRules, defaultService, loadBalancerName,
                                                    $uibModalInstance, hostAndPathRulesService) {
      this.table = hostAndPathRulesService.buildTable(hostRules, defaultService);
      this.loadBalancerName = loadBalancerName;
      this.close = $uibModalInstance.dismiss;
    });
  