Angular中指令对指令通信抛出错误
Directive to directive communication throwing error in Angular
如何将控制器暴露给另一个指令。最后,我希望有一个指令之间的沟通。使用slideshow指令编译对象。当有响应页指令时,更新幻灯片指令。首先我需要他们之间的沟通。
错误如下:
Error: [$compile:ctreq] Controller 'slideshow', required by directive 'responsivePage', can't be found!
查看JsFiddle上的实时代码