AngularJS: directives talking to controllers