angular-ui/bootstrap — pull request #2921 by chrisirhc (2014-11-02 19:05:05+00:00)
Title: fix(tooltip): evaluate appendToBody on init

This wasn't working properly with the location change code
(lines 305-314) because the observe call happens asynchronously after
the linking function has completed.

Hence, the locationChangeSuccess wasn't being set up unless the global
tooltip option's appendToBody option was set to true.