We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a8749e commit 3436c02Copy full SHA for 3436c02
1 file changed
docs/content/misc/started.ngdoc
@@ -65,15 +65,15 @@ This example demonstrates angular's two-way data binding:
65
66
<doc:example>
67
<doc:source>
68
- Your name: <input type="text" ng-model="yourname" value="World"/>
69
- <hr/>
70
- Hello {{yourname}}!
+ Your name: <input type="text" ng-model="yourname" ng-model-instant placeholder="World">
+ <hr>
+ Hello {{yourname || 'World'}}!
71
</doc:source>
72
</doc:example>
73
74
After the refresh, the page should look something like this:
75
76
-<img class="left" src="img/helloworld_2way.png" border="1" />
+<img class="left" src="img/helloworld_2way.png" border="1" >
77
78
These are some of the important points to note from this example:
79
0 commit comments