Skip to content

Directives inside ocLazyLoad directive not compiling #80

@vlad-nica

Description

@vlad-nica

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions