angular.js - 指令互動問題,找不到依賴指令
phpcn_u1582
phpcn_u1582 2017-05-15 17:13:14
0
1
546

我在appContent指令內調APPLeft。提示這個錯誤:Controller 'appLeft', required by directive 'appContent', can't be found!

appLeft存在的為什麼提示這個

phpcn_u1582
phpcn_u1582

全部回覆(1)
黄舟

在stackoverflow找到了答案,必須把app-content放在app-left內才能這樣使用,也就是:

<app-left>
    <app-content></app-content>
</app-left>
熱門教學
更多>
最新下載
更多>
網站特效
網站源碼
網站素材
前端模板
關於我們 免責聲明 Sitemap
PHP中文網:公益線上PHP培訓,幫助PHP學習者快速成長!