angular.js - 指令交互问题,未找到依赖指令
phpcn_u1582
phpcn_u1582 2017-05-15 17:13:14
0
1
550

我在appContent指令内调APPLeft。提示这个错误:Controller 'appLeft', required by directive 'appContent', can't be found!

appLeft存在的为什么提示这个

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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!