now able to pass a function to the directive and it's reachable in the template

primarily for ng-click