fix($animate): make animation onComplete callbacks async
chore(ngdocs): fix docs search to properly hide the X button when collapsed