aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgor Minar2012-03-20 11:30:21 -0700
committerIgor Minar2012-03-20 11:30:21 -0700
commit3436c027f217fe0583b23d48c101299b1872d333 (patch)
tree37c07b535167658941fcfa4187d72b9857ddc514
parent6a8749e65a7efb69a65be87605cd7d4a2df2fbb0 (diff)
downloadangular.js-3436c027f217fe0583b23d48c101299b1872d333.tar.bz2
docs(guide/started): fix examples
-rw-r--r--docs/content/misc/started.ngdoc8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/content/misc/started.ngdoc b/docs/content/misc/started.ngdoc
index 933f916f..0559e401 100644
--- a/docs/content/misc/started.ngdoc
+++ b/docs/content/misc/started.ngdoc
@@ -65,15 +65,15 @@ This example demonstrates angular's two-way data binding:
<doc:example>
<doc:source>
- Your name: <input type="text" ng-model="yourname" value="World"/>
- <hr/>
- Hello {{yourname}}!
+ Your name: <input type="text" ng-model="yourname" ng-model-instant placeholder="World">
+ <hr>
+ Hello {{yourname || 'World'}}!
</doc:source>
</doc:example>
After the refresh, the page should look something like this:
-<img class="left" src="img/helloworld_2way.png" border="1" />
+<img class="left" src="img/helloworld_2way.png" border="1" >
These are some of the important points to note from this example: