angular js too much recursion error on $apply() call
<p>Whenever I trigger the <code>$apply</code> on my scopes, Too much recursion error is being thrown. </p>

<p>console output:</p>

<pre><code>Error: too much recursion
isArray@file://.../lib/angular.js:355:10
copy@file://.../lib/angular.js:551:9
copy@file://.../lib/angular.js:546:23
copy@file://.../lib/angular.js:563:28
...

Error: 10 $digest() iterations reached. Aborting!
Watchers fired in the last 5 iterations: []
$RootScopeProvider/this.$get&lt;/Scope.prototype.$digest@file://.../lib/angular.js:7756:19
$RootScopeProvider/this.$get&lt;/Scope.prototype.$apply@file://.../lib/angular.js:7926:13
</code></pre>