Download exampleRun example
Executes the function and returns the result in the $GLOBAL["return_node_text_content"]

Context: anywhere in //app/client

- exec text content is the code to be executed;
- directive's $el param is the parentNode;
- exec directives will be executed in the order found in the DOM tree;
- exec/return is optional;
- only one return children is allowed and this will be the key name of $GLOBALS where the result is stored;
Writing function code
Returning the function value in global context

Watch youtube video (quite old, but you can see live how to create/setup the directive; param child drective is no longer used)

Run exampleDownload example