From 8237469a46f4030b43831974ab3ce85ae2c676da Mon Sep 17 00:00:00 2001 From: Yauhen Saroka Date: Sat, 16 Jan 2016 01:30:42 +0300 Subject: [PATCH] Fix code in documentation. --- docs/content/guide/concepts.ngdoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/content/guide/concepts.ngdoc b/docs/content/guide/concepts.ngdoc index d9edc643..6261c1ed 100644 --- a/docs/content/guide/concepts.ngdoc +++ b/docs/content/guide/concepts.ngdoc @@ -267,8 +267,8 @@ Angular изменяет обычный поток выполнения JavaScri }); // модель -> вид - ctrl.$render = function(value) { - elm.html(value); + ctrl.$render = function() { + elm.html(ctrl.$viewValue); }; // загрузка начального значения из DOM