In case you need to pass a callback to your AngularJS directives, looks like one way is to create an isolated scope and create a member with the ‘&’ attr. Here’s a quick&dirty example:

In case you have to pass some arguments to the callback, here’s how:

Notice that the argument is transformed in a javascript object and passed to the callback which is actually a wrapped function around the one you passed.