docs: function select(choice)
          {
              newSelection = false;
              if ($scope.multiple)
              {
                  if (arrayObjectIndexOf($scope.data.selected, choice) === -1)
                  {
                      $scope.data.selected.push(choice);
                  }
              }
              else
              {
                  $scope.data.selected = [choice];
              }
          }