angular/angular.js — pull request #4783 by mlunoe (2013-11-04 23:10:00+00:00)
Title: 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.