angular.js - Directive interaction problem, dependent directive not found
phpcn_u1582
phpcn_u1582 2017-05-15 17:13:14
0
1
619

I call APPLeft within the appContent directive. Prompt this error: Controller 'appLeft', required by directive 'appContent', can't be found!

Why does appLeft prompt this

phpcn_u1582
phpcn_u1582

reply all(1)
黄舟

I found the answer on stackoverflow. You must put app-content in app-left to use it this way, that is:

<app-left>
    <app-content></app-content>
</app-left>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template