Stores the previously focused element and restores focus on destroy.
Prevents focus from falling to <body> when dynamic content is removed
(dialogs closing, panels collapsing, tabs switching). The directive captures
document.activeElement at initialization time and restores it when the
host element is destroyed.