function CertificatesController($scope, gettext) {

    var ctrl = this;

    $('#wizard-side-nav ul li:last').hide();

    ctrl.tableData = {
      available: $scope.model.certificates,
      allocated: $scope.model.spec.certificates,
      displayedAvailable: [],
      displayedAllocated: []
    };

    ctrl.tableLimits = {
      maxAllocation: -1
    };

    ctrl.tableHelp = {
      availHelpText: '',
      noneAllocText: gettext('Select certificates from the available certificates below'),
      noneAvailText: gettext('No available certificates')
    };
  }
/**
   * @ngdoc controller
   * @name CertificatesController
   * @description
   * The `CertificatesController` controller provides functions for adding certificates to a
   * listener.
   * @param $scope The angular scope object.
   * @param gettext The horizon gettext function for translation.
   * @returns undefined
   */
@ngdoc controller
@name CertificatesController
@description
The `CertificatesController` controller provides functions for adding certificates to a
listener.
@param $scope The angular scope object.
@param gettext The horizon gettext function for translation.
@returns undefined
@ngdoc controller @name CertificatesController @description The ` CertificatesController ` controller provides functions for adding certificates to a listener . @param $scope The angular scope object . @param gettext The horizon gettext function for translation . @returns undefined
function CertificatesController($scope, gettext) {
    var ctrl = this;
    $('#wizard-side-nav ul li:last').hide();
    ctrl.tableData = {
      available: $scope.model.certificates,
      allocated: $scope.model.spec.certificates,
      displayedAvailable: [],
      displayedAllocated: []
    };
    ctrl.tableLimits = {
      maxAllocation: -1
    };
    ctrl.tableHelp = {
      availHelpText: '',
      noneAllocText: gettext('Select certificates from the available certificates below'),
      noneAvailText: gettext('No available certificates')
    };
  }
function CertificatesController ( $scope , gettext ) { var ctrl = this ; $ ( '#wizard-side-nav ul li:last' ) . hide ( ) ; ctrl . tableData = { available : $scope . model . certificates , allocated : $scope . model . spec . certificates , displayedAvailable : [ ] , displayedAllocated : [ ] } ; ctrl . tableLimits = { maxAllocation : - 1 } ; ctrl . tableHelp = { availHelpText : '' , noneAllocText : gettext ( 'Select certificates from the available certificates below' ) , noneAvailText : gettext ( 'No available certificates' ) } ; }
@ngdoc controller
 @name CertificatesController
 @description
 The `CertificatesController` controller provides functions for adding certificates to a
 listener.
@ngdoc controller @name CertificatesController @description The ` CertificatesController ` controller provides functions for adding certificates to a listener .