From f38010d3a2f457a53798212ef72418637dabe189 Mon Sep 17 00:00:00 2001
From: Igor Minar
Date: Thu, 20 Oct 2011 15:37:37 -0700
Subject: fix(compiler): revert 8611ebe6 - calling \$digest after linking
Change introduced by me in 8611ebe6 results in considerable inefficiencies when the compiler
and linker is used from within a widget, in which case, we call $digest unnecessary since it
will be called by the $apply which called the directive/widget in the first place.
There are only two places when the extra $digest call can be useful - when manually bootstrapping
the app or in tests. However even in tests this behavior can result in unwanted results (especially
when ng:controller is involved). So it is better to leave it for the developer to call $digest
when it is really needed.
---
docs/content/guide/dev_guide.bootstrap.manual_bootstrap.ngdoc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'docs/content/guide')
diff --git a/docs/content/guide/dev_guide.bootstrap.manual_bootstrap.ngdoc b/docs/content/guide/dev_guide.bootstrap.manual_bootstrap.ngdoc
index c0f2fe1c..1adbb0d2 100644
--- a/docs/content/guide/dev_guide.bootstrap.manual_bootstrap.ngdoc
+++ b/docs/content/guide/dev_guide.bootstrap.manual_bootstrap.ngdoc
@@ -17,7 +17,7 @@ explicitly.
--
cgit v1.2.3