1. Many thanks for this, it is certainly something that can trip a lot of people up, myself included.

    One thing that I have been struggling with for a while, which perhaps goes against the way this works, but I actually need to access the arguments from within the Directive itself, is there a magical way to get to these? I would prefer not to have to create a new binding when the passed function already contains everything I need

    • janek

      Hi David, Well, one option is to programatically invoke the expression (ie “myClickAction”) from within the directive itself, rather than from within the directive’s template. Would that give you access to the arguments in the way you need? If not, could you elaborate?

Leave a Reply

Your email address will not be published. Required fields are marked *