angular-ui/bootstrap — pull request #1373 by ventuc (2013-12-09 14:26:04+00:00)
Title: Fix for issue https://github.com/angular-ui/bootstrap/issues/96. Refresh tooltip after any change in the content.

At every content change checks if the tooltip is open. If so hides it and then shows it gain. This automatically position the tooltip correctly. Uses $q in the hide() function in order to notify the caller when the tooltip has been hidden.