fix(ngAnimate): guard $document[0].hidden access in case it was mocked out
Some tests mock out and now that we always access the hidden property, existing tests can get broken. This change keeps the existing tests working.
I
Igor Minar committed
57a37fcc20e14633078ce1b35976e755fcf87b3c
Parent: 7f6ba55