I cannot seem to find a way to call a function on the parent scope from within a directive without using isolated scope. I know that if I use isolated scope I can just use \
Explicitly call hideButton on the parent scope.
hideButton
Here's the fiddle: http://jsfiddle.net/pXej2/5/
And here is the updated HTML:
Do It