aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ng/compile.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/ng/compile.js b/src/ng/compile.js
index 4f466292..2b70abfc 100644
--- a/src/ng/compile.js
+++ b/src/ng/compile.js
@@ -425,9 +425,11 @@ function $CompileProvider($provide) {
* @function
*
* @description
- * Observe an interpolated attribute.
- * The observer will never be called, if given attribute is not interpolated.
- * The interpolated value of the attribute is passed to the observer function.
+ * Observes an interpolated attribute.
+ *
+ * The observer function will be invoked once during the next `$digest` following
+ * compilation. The observer is then invoked whenever the interpolated value
+ * changes.
*
* @param {string} key Normalized key. (ie ngAttribute) .
* @param {function(interpolatedValue)} fn Function that will be called whenever