aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/guide/forms.ngdoc
diff options
context:
space:
mode:
Diffstat (limited to 'docs/content/guide/forms.ngdoc')
-rw-r--r--docs/content/guide/forms.ngdoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/content/guide/forms.ngdoc b/docs/content/guide/forms.ngdoc
index cd0290a8..0cdd6503 100644
--- a/docs/content/guide/forms.ngdoc
+++ b/docs/content/guide/forms.ngdoc
@@ -300,8 +300,8 @@ The following example shows how to add two-way data-binding to contentEditable e
});
// model -> view
- ctrl.$render = function(value) {
- elm.html(value);
+ ctrl.$render = function() {
+ elm.html(ctrl.$viewValue);
};
// load init value from DOM