Correcting example of isolated scope function binding

Putting ng-hide inside the directive to be handled as its own function and adding an increment function to be passed to the directive as a delegate of the on-close function. This better illustrates functionality that might be passed to the directive, as well as which functionality the directive should handle itself.