Fix for issue #224 - Setting tooltip in parent directive's link function

Includes unit test and fix for #224