change in custom directive ngClick event/function

i have a custom directive that i need to insert some login, basically i need in my custom directive prevent from being fired a function in ngClick, than depending in some logic that is made i will be calling a modal or the function/event that was in first place in the ngClick.
I been searching online for something similiar but i cant find it, maybe my terms search arent right.

How can i get the value from ngclick to store it and later fire it again?