From 075c089b5cbe72e95ec96638f8925aeb44824f7c Mon Sep 17 00:00:00 2001
From: Igor Minar
Date: Fri, 27 Apr 2012 15:18:54 -0700
Subject: docs(tutorial): update all the remaining steps
I made some diagrams and portions of the text that are stil stale
invisible. We'll fix these in the next relese.
---
docs/content/tutorial/step_03.ngdoc | 32 +++++++++++++++++++++++---------
1 file changed, 23 insertions(+), 9 deletions(-)
(limited to 'docs/content/tutorial/step_03.ngdoc')
diff --git a/docs/content/tutorial/step_03.ngdoc b/docs/content/tutorial/step_03.ngdoc
index 4028dcda..60b4173b 100644
--- a/docs/content/tutorial/step_03.ngdoc
+++ b/docs/content/tutorial/step_03.ngdoc
@@ -32,14 +32,27 @@ We made no changes to the controller.
__`app/index.html`:__
...
- Fulltext Search:
-
-
-
- {{phone.name}}
-
{{phone.snippet}}
-
-
+
+
+
+
+
+ Search:
+
+
+
+
+
+
+
+ {{phone.name}}
+
{{phone.snippet}}
+
+
+
+
+
+
...
@@ -54,7 +67,7 @@ list. This new code demonstrates the following:
name of the input box to a variable of the same name in the data model and keeps the two in sync.
In this code, the data that a user types into the input box (named __`query`__) is immediately
-available as a filter input in the list repeater (`phone in phones | filter(`__`query`__`)`). When
+available as a filter input in the list repeater (`phone in phones | filter:`__`query`__). When
changes to the data model cause the repeater's input to change, the repeater efficiently updates
the DOM to reflect the current state of the model.
@@ -86,6 +99,7 @@ describe('PhoneCat App', function() {
browser().navigateTo('../../app/index.html');
});
+
it('should filter the phone list as user types into the search box', function() {
expect(repeater('.phones li').count()).toBe(3);
--
cgit v1.2.3