angular.js/docs/components/angular-bootstrap
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
..
bootstrap-prettify.js fix(bootstrap-prettify): share $animate and $$postDigestQueue with demo apps 2013-11-08 01:03:17 -08:00
bootstrap.js docs(guide/providers): add providers documentation 2013-11-06 08:47:06 -08:00