From 6336b6e89e3a80aec3c4367ab4c2737fd365c030 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Fri, 30 Mar 2012 14:02:26 -0700 Subject: chore(docs): restore old tutorial ngdoc files --- docs/content/tutorial/step_04.ngdoc | 198 ++++++++++++++++++++++++++++++++++++ 1 file changed, 198 insertions(+) create mode 100644 docs/content/tutorial/step_04.ngdoc (limited to 'docs/content/tutorial/step_04.ngdoc') diff --git a/docs/content/tutorial/step_04.ngdoc b/docs/content/tutorial/step_04.ngdoc new file mode 100644 index 00000000..a5fefd74 --- /dev/null +++ b/docs/content/tutorial/step_04.ngdoc @@ -0,0 +1,198 @@ +@ngdoc overview +@name Tutorial: 4 - Two-way Data Binding +@description + + + + +In this step, you will add a feature to let your users control the order of the items in the phone +list. The dynamic ordering is implemented by creating a new model property, wiring it together with +the repeater, and letting the data binding magic do the rest of the work. + + + + + +You should see that in addition to the search box, the app displays a drop down menu that allows +users to control the order in which the phones are listed. + +The most important differences between Steps 3 and 4 are listed below. You can see the full diff on +{@link https://github.com/angular/angular-phonecat/compare/step-3...step-4 GitHub}: + + +## Template + +__`app/index.html`:__ +
+...
+  
+
+  
+...
+
+ +We made the following changes to the `index.html` template: + +* First, we added a `