Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Commit

Permalink
docs(guide/started): fix examples
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorMinar committed Mar 20, 2012
1 parent 6a8749e commit 3436c02
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/content/misc/started.ngdoc
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down

0 comments on commit 3436c02

Please sign in to comment.