Parent directive controller undefined when passing to child directive
问题 I asked general question here in this post. I've got answer with working example; however when I try to use this example to modify existing code, I get error. See my code below and in this Plunker page. Html <script src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.5.3/angular.min.js"></script> <div ng-app="myApp"> <tmp-menu ng-disabled="true"> <tmp-menu-link></tmp-menu-link> <tmp-menu-link></tmp-menu-link> </tmp-menu> </div> JavaScript(AngularJS): angular.module('myApp', [])