All I put in the controller it's all I need to access in the partials html file. Can we access to functions of a directive through the ng-click event for example ? if we can I can move all in the directive

I've seen we can use a controller directly in the directive definition, maybe it's the solution to keep the component self-sufficient, what do you think about this?