How to get controllers from multiple directives