Open hugomn opened 9 years ago
+1 for me, I have the same issue. Strangely enough it sometimes works by random page refreshes. I guess it has to do with some order of execution/loading.
I added the ocLazyLoad logs in both cases
+1
I've gotten the past the dependency loading error by adding a dependency of textAngular.DOM to textAngularSetup. But now when I'm ocLazyLoading, the textAngular module can't access the values set up in the textAngularSetup module (e.g., 'taTools'), I just get empty objects injected
+1
This comment is the solution.
Just change forceTextAngularSanitize: true
to forceTextAngularSanitize: false
in textAngularSetup.js or change it by $provide in config section.
Looks like textAngular still having problems with ocLazyLoad. I'm using textAngular 1.4.6 with ocLazyLoad 1.0.6. I've configured textAngular module in ocLazyLoad config:
And in my router configuration:
And I'm getting this error:
If I include the textAngular files in my index.html and load the module in my app configuration, everything works fine. Maybe some circular dependency in textAngular?