aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docs/content/cookbook/helloworld.ngdoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/content/cookbook/helloworld.ngdoc b/docs/content/cookbook/helloworld.ngdoc
index 05748231..8b693a63 100644
--- a/docs/content/cookbook/helloworld.ngdoc
+++ b/docs/content/cookbook/helloworld.ngdoc
@@ -10,9 +10,9 @@
}
</script>
<div ng-controller="HelloCntl">
- Your name: <input type="text" ng-model="name" value="World"/>
+ Your name: <input type="text" ng-model="name"/>
<hr/>
- Hello {{name}}!
+ Hello {{name || "World"}}!
</div>
</doc:source>
<doc:scenario>