angular.js/docs
Igor Minar 1df3da361d fix(bootstrap-prettify): share $animate and $$postDigestQueue with demo apps
Although demo apps run in an isolated environment, we need to be able to tell them to disable
animations when we are running end-to-end tests.  By sharing the same instance of $animate
between the two environments we can disable animation across the board.

The $animate service uses the $$postDigestQueue to run animations.  The outer $animate
service uses the outer $$postDigestQueue and to queue up these animations.  This means that
when we run a digest inside the embedded scope, the animations are never performed - they
just sit in the outer scope's queue and are only run when a digest is run on the outer scope.
By sharing this queue across the two scopes the animations are performed correctly.
2013-11-08 01:03:17 -08:00
..
component-spec chore(docs): fix broken IE8 test due to sanitization bug 2013-10-04 13:43:11 -04:00
components fix(bootstrap-prettify): share $animate and $$postDigestQueue with demo apps 2013-11-08 01:03:17 -08:00
content docs(guide/filter): Refactor filter guide docs 2013-11-07 14:14:57 -08:00
img docs(guide/overview): Refactor overview and mvc docs 2013-11-06 17:11:44 -08:00
spec fix(ngdocs): create mock Doc objects correctly 2013-11-05 21:20:46 +00:00
src docs(guide/overview): Refactor overview and mvc docs 2013-11-06 17:11:44 -08:00