fix($animate): correctly handle `$animate.pin()` host elements
This commit fixes two bugs: 1) Previously, animate would assume that a found host element was part of the $rootElement (while it's possible that it is also outside the root). 2) Previously, if a parent of the animated element was pinned to a host element, the host would not be checked regarding animations enabled status etc. Closes #13783
M
Martin Staffa committed
7700e2df096cf50dfdf84841cab7e2d24d2eb96d
Parent: 3fb809e