docs: function(e, key){
                                  $scope.utils.textarea['valueBeforeEditing'] = angular.copy($scope.jsonFn[key]); //keep value before editing
                                  $scope.utils.textarea['element'] = e.currentTarget;
                                  $scope.utils.textarea.validate(key);
                              }