Fixes Issue #9

Grabbed official source from: https://github.com/angular-ui/ui-tinymce/blob/master/src/tinymce.js