function PoolDetailsController($scope, gettext) {
    var ctrl = this;
    ctrl.createChange = createChange;

    function createChange() {
      if ($scope.model.context.create_pool) {
        // Enabling pool form enables listener form
        $scope.model.context.create_listener = true;
      } else {
        // Disabling pool form disables monitor form
        $scope.model.context.create_monitor = false;
      }
    }

    // Error text for invalid fields
    ctrl.tls_ciphersError = gettext('The cipher string must conform to OpenSSL syntax.');
  }
/**
   * @ngdoc controller
   * @name PoolDetailsController
   * @description
   * The `PoolDetailsController` controller provides functions for
   * configuring the pool details step of the LBaaS wizard.
   * @param $scope The angular scope object.
   * @param gettext The horizon gettext function for translation.
   * @returns undefined
   */
@ngdoc controller
@name PoolDetailsController
@description
The `PoolDetailsController` controller provides functions for
configuring the pool details step of the LBaaS wizard.
@param $scope The angular scope object.
@param gettext The horizon gettext function for translation.
@returns undefined
@ngdoc controller @name PoolDetailsController @description The ` PoolDetailsController ` controller provides functions for configuring the pool details step of the LBaaS wizard . @param $scope The angular scope object . @param gettext The horizon gettext function for translation . @returns undefined
function PoolDetailsController($scope, gettext) {
    var ctrl = this;
    ctrl.createChange = createChange;
    function createChange() {
      if ($scope.model.context.create_pool) {
        $scope.model.context.create_listener = true;
      } else {
        $scope.model.context.create_monitor = false;
      }
    }
    ctrl.tls_ciphersError = gettext('The cipher string must conform to OpenSSL syntax.');
  }
function PoolDetailsController ( $scope , gettext ) { var ctrl = this ; ctrl . createChange = createChange ; function createChange ( ) { if ( $scope . model . context . create_pool ) { $scope . model . context . create_listener = true ; } else { $scope . model . context . create_monitor = false ; } } ctrl . tls_ciphersError = gettext ( 'The cipher string must conform to OpenSSL syntax.' ) ; }
@ngdoc controller
 @name PoolDetailsController
 @description
 The `PoolDetailsController` controller provides functions for
 configuring the pool details step of the LBaaS wizard.
@ngdoc controller @name PoolDetailsController @description The ` PoolDetailsController ` controller provides functions for configuring the pool details step of the LBaaS wizard .
// Enabling pool form enables listener form // Disabling pool form disables monitor form // Error text for invalid fields