diff options
Diffstat (limited to 'docs/content')
| -rw-r--r-- | docs/content/misc/started.ngdoc | 8 |
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: |
