Download exampleRun example
Replaces itself with the result of the function created from the node's first processing instruction. Result of the function can be both text or XML and will be used to make a document fragment that replaces the directive in the DOM tree

Context: anywhere in //app/client

Remarks: Since AWS XMS 1.0 RC1, function will be called with directive's parentNode as parameter (like runhere)

Setting the callback function