<textarea
required="true"
spellcheck="on"
data-ng-model="myVariable"
rows="4">
</textarea>
<button
id="description-submit-button"
data-ng-click="mySpecialFunction(myVariable)"
buttonType="${'primary'}"
htmlButtonType="${'button'}"
>
<text>"Submit"</text>
</button>
$scope.mySpecialFunction = function (value) {
// value === myVariable
// do something with it here
};