clean up error message and occasional angularjs weirdness where scope.editor.content is empty