How can I invoke a function via an directive attribute without isolated scope. I know that it possible with $parse and link.
For example:
<my-directive on-start="foo(query)> </my-directive> And I want to invoke the function in the controller.
Thanks