Hi,
I noticed that directives that are placed inside an element that defines ocLazyLoad directive are not compiling.
View:
<div data-oc-lazy-load="[{ name: 'testModule', files: [ '/bundles/SomeBundle' ] }]">
<div ng-controller="TestController">
{{testString}}
<div greetings></div>
</div>
</div>
Debugger:
ocLazyLoad.fileLoaded /bundles/SomeBundle
ocLazyLoad.componentLoaded ["testModule", "register", "TestController"]
ocLazyLoad.componentLoaded ["testModule", "directive", "greetings"]
ocLazyLoad.moduleReloaded testModule
The testString get's displayed (defined in controller) but the directive's controller never gets fired.
Thanks!
Hi,
I noticed that directives that are placed inside an element that defines ocLazyLoad directive are not compiling.
View:
Debugger:
The testString get's displayed (defined in controller) but the directive's controller never gets fired.
Thanks!