remove the ng-model attribute from mainInput textarea to stop the digest being run every time you press a key (SYWEB-4)