I have a composite list directive - that is - a list item that can be a list himself. The parent directive defines the controller:
.directive(\'parent\', f