Bug fix to allow links to be followed
Thanks to @fela98 for the following change:
The fix is to not return the value returned by the angular expression passed to clickOutside. I am not aware of any other use for the return value of the expression, I therefore removed the return value completely.