I have parent directive for navigation menu and child directives for menu links. Something like this:
<menu>
<menu-link />
<menu-link />
</menu>
In menu directive I use ng-translucent to be able to add html. Is there any way to pass argument from menu to all menu-link elements? For example, if:
<menu ng-disabled='true'..
I want all menu-link directives to get that value from parent. One more thing: each menu-link have its own attributes, so it needs to have own scope.