angular-ui/ui-tinymce — pull request #47 by ohana54 (2013-10-14 07:40:33+00:00)
Title: Check $$phase on the root scope

Checking $$phase on the directive scope is not good enough since $$phase is defined on the root scope.
If there's an isolated scope in the chain, it will break.