http://jimhoskins.com/2012/12/17/angularjs-and-apply.html <-- the last 2
paragraphs may be usefull.

"

If your code isn’t wrapped in a function passed to $apply, and it throws
an error, that error is thrown outside of AngularJS, which means any
error handling being used in your application is going to miss it.
$apply not only runs your code, but it runs it in a |try/catch| so your
error is always caught, and the $digest call is in a |finally| clause,
meaning it will run regardless of an error being thrown. That’s pretty nice.

Hopefully now you understand what |$apply| is and when to use it. If you
only use what AngularJS provides you, you shouldn’t need to use it
often. But if you begin writing directives where you are observing DOM
elements directly, it is going to become necessary.
"


On 14. mai 2013 14:35, wesleycho wrote:
>> @@ -17,7 +17,7 @@
>>    ],
>>    "dependencies": {
>>      "angular": "~1.x",
>> -    "tinymce": "latest"
>> +    "tinymce": "4.0b2"
> Hm, strange - the [4.0b2 tag](https://github.com/tinymce/tinymce/tree/4.0b2) does exist.  Any reason why it would do that?
>
> There is a compiled copy in the test/lib folder if you would like to use that instead.
>
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/angular-ui/ui-tinymce/pull/4/files#r4212561
>