-
Notifications
You must be signed in to change notification settings - Fork 508
Closed
Labels
Description
I've updated from 1.0.0-beta-2 to 1.0.0, the following declaration has stopped working for me:
<div ng-switch-when="some-clause" >
<div oc-lazy-load="['/vendors/file1.js', '/vendors/file2.js' ]">
<my-directive url="{[ vm.url ]}"></my-directive>
</div>
</div>
I can see that /vendors/file1.js& /vendors/file2.js were loaded, but my-directive never got compiled. fyi my-directive is not inside those files, it was loaded before.
In the docs you mention different syntax, but it produces an error:
<div oc-lazy-load="{['js/testModule.js', 'partials/lazyLoadTemplate.html']}">
<!-- Use a directive from TestModule -->
<test-directive></test-directive>
</div>
Reactions are currently unavailable