aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/tutorial
diff options
context:
space:
mode:
authorMisko Hevery2011-09-08 13:56:29 -0700
committerIgor Minar2011-10-11 11:01:45 -0700
commit4f78fd692c0ec51241476e6be9a4df06cd62fdd6 (patch)
tree91f70bb89b9c095126fbc093f51cedbac5cb0c78 /docs/content/tutorial
parentdf6d2ba3266de405ad6c2f270f24569355706e76 (diff)
downloadangular.js-4f78fd692c0ec51241476e6be9a4df06cd62fdd6.tar.bz2
feat(forms): new and improved forms
Diffstat (limited to 'docs/content/tutorial')
-rw-r--r--docs/content/tutorial/step_03.ngdoc2
-rw-r--r--docs/content/tutorial/step_04.ngdoc4
-rw-r--r--docs/content/tutorial/step_07.ngdoc4
-rw-r--r--docs/content/tutorial/step_09.ngdoc2
4 files changed, 6 insertions, 6 deletions
diff --git a/docs/content/tutorial/step_03.ngdoc b/docs/content/tutorial/step_03.ngdoc
index ec546956..89a1b0cb 100644
--- a/docs/content/tutorial/step_03.ngdoc
+++ b/docs/content/tutorial/step_03.ngdoc
@@ -32,7 +32,7 @@ We made no changes to the controller.
__`app/index.html`:__
<pre>
...
- Fulltext Search: <input name="query"/>
+ Fulltext Search: <input ng:model="query"/>
<ul class="phones">
<li ng:repeat="phone in phones.$filter(query)">
diff --git a/docs/content/tutorial/step_04.ngdoc b/docs/content/tutorial/step_04.ngdoc
index 72aa26c9..d05a8e7c 100644
--- a/docs/content/tutorial/step_04.ngdoc
+++ b/docs/content/tutorial/step_04.ngdoc
@@ -27,11 +27,11 @@ __`app/index.html`:__
...
<ul class="controls">
<li>
- Search: <input type="text" name="query"/>
+ Search: <input type="text" ng:model="query"/>
</li>
<li>
Sort by:
- <select name="orderProp">
+ <select ng:model="orderProp">
<option value="name">Alphabetical</option>
<option value="age">Newest</option>
</select>
diff --git a/docs/content/tutorial/step_07.ngdoc b/docs/content/tutorial/step_07.ngdoc
index fa0c1e1f..eaf7f4ab 100644
--- a/docs/content/tutorial/step_07.ngdoc
+++ b/docs/content/tutorial/step_07.ngdoc
@@ -122,11 +122,11 @@ __`app/partials/phone-list.html`:__
<pre>
<ul class="predicates">
<li>
- Search: <input type="text" name="query"/>
+ Search: <input type="text" ng:model="query"/>
</li>
<li>
Sort by:
- <select name="orderProp">
+ <select ng:model="orderProp">
<option value="name">Alphabetical</option>
<option value="age">Newest</option>
</select>
diff --git a/docs/content/tutorial/step_09.ngdoc b/docs/content/tutorial/step_09.ngdoc
index 80b10f65..7d8e3430 100644
--- a/docs/content/tutorial/step_09.ngdoc
+++ b/docs/content/tutorial/step_09.ngdoc
@@ -109,7 +109,7 @@ following bindings to `index.html`:
* We can also create a model with an input element, and combine it with a filtered binding. Add
the following to index.html:
- <input name="userInput"> Uppercased: {{ userInput | uppercase }}
+ <input ng:model="userInput"> Uppercased: {{ userInput | uppercase }}
# Summary