Ok. Overkill for this case, I agree. I just wanted to understand if it would be possible.

Such a directive might be useful in the future (it would be generic enough to allow to connect to any map event, of course), we'll see. One wouldn't think that wrapping the click event would not be overkill, yet we have ng-click ;=). (Looking at the source of ng-click makes it obvious why it was a good idea). @substack would rejoice :=).

Thanks a lot @elemoine for once again shedding some light into the angular world and for your patience!