tweaked one of the directive tests for template-function

to be more clear how a passed function should be called in angular