pass nodeFn to directive for transclusion