No need for a controller function here. Event callbacks belong in the directive, unless they are driving significant model manipulation that has to take place in the controller.