Closed Megadesty closed 8 years ago
We have a big AngularJS application and using angular-css extensively, since it gives a lot of freedom while designing directive templates.
When the application gets too big, FireFox and later also Internet Explorer begin to throw errors:
Error: too much recursion
Error: Out of stack space
Chrome is still happy with the app, until it grows even larger.
It seems that the problem lies in the call of $provide.decorator(...) in the "AngularJS hack" (lines 567+).
$provide.decorator(...)
Plunker of an abstracted structure of our app (which leads to the errors in FF and IE): http://plnkr.co/XGIJzZPcHhkXQ3HUoLgG
We have a big AngularJS application and using angular-css extensively, since it gives a lot of freedom while designing directive templates.
When the application gets too big, FireFox and later also Internet Explorer begin to throw errors:
Error: too much recursion
Error: Out of stack space
Chrome is still happy with the app, until it grows even larger.
It seems that the problem lies in the call of
$provide.decorator(...)
in the "AngularJS hack" (lines 567+).Plunker of an abstracted structure of our app (which leads to the errors in FF and IE): http://plnkr.co/XGIJzZPcHhkXQ3HUoLgG