From 7f1e2e48467f80cc083d24b44f088620e4e7bcb6 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Mon, 6 Jun 2011 08:50:35 -0700 Subject: new batch of docs --- docs/content/tutorial/step_08.ngdoc | 57 +++++++++++-------------------------- 1 file changed, 16 insertions(+), 41 deletions(-) (limited to 'docs/content/tutorial/step_08.ngdoc') diff --git a/docs/content/tutorial/step_08.ngdoc b/docs/content/tutorial/step_08.ngdoc index bec7bf6c..c0ba2831 100755 --- a/docs/content/tutorial/step_08.ngdoc +++ b/docs/content/tutorial/step_08.ngdoc @@ -1,43 +1,29 @@ @ngdoc overview -@name Tutorial: Step 8 +@name Tutorial: 8 - More Templating @description - - - - - - - - -
{@link tutorial.step_07 Previous}{@link http://angular.github.com/angular-phonecat/step-8/app Live Demo -}{@link tutorial Tutorial Home}{@link https://github.com/angular/angular-phonecat/compare/step-7...step-8 Code -Diff}{@link tutorial.step_09 Next}
-In this step, you will implement the phone details view, which is displayed when a user clicks on a -phone in the phone list. + + -1. Reset your workspace to Step 8 using: +In this step, you will implement the phone details view, which is displayed when a user clicks on a +phone in the phone list. - git checkout -f step-8 - or + - ./goto_step.sh 8 -2. Refresh your browser or check the app out on {@link -http://angular.github.com/angular-phonecat/step-8/app angular's server}. -Now when you click on a -phone on the list, the phone details page with phone-specific information is displayed. +Now when you click on a phone on the list, the phone details page with phone-specific information +is displayed. -To implement the phone details view we will use {@link angular.service.$xhr $xhr} to fetch our +To implement the phone details view we will use {@link api/angular.service.$xhr $xhr} to fetch our data, and we'll flesh out the `phone-details.html` view template. @@ -56,8 +42,7 @@ phone: __`app/phones/nexus-s.json`:__ (sample snippet)
 {
-  "additionalFeatures": "Contour Display, Near Field Communications (NFC), Three-axis gyroscope,
-Anti-fingerprint display coating, Internet Calling support (VoIP/SIP)",
+  "additionalFeatures": "Contour Display, Near Field Communications (NFC),...",
   "android": {
       "os": "Android 2.3",
       "ui": "Android"
@@ -172,7 +157,7 @@ step 5.
 __`test/unit/controllerSpec.js`:__
 
 ...
-    it('should fetch phone detail', function(){
+    it('should fetch phone detail', function() {
       scope.params = {phoneId:'xyz'};
       $browser.xhr.expectGET('phones/xyz.json').respond({name:'phone xyz'});
       ctrl = scope.$new(PhoneDetailCtrl);
@@ -192,10 +177,10 @@ To run the unit tests, execute the `./scripts/test.sh` script and you should see
 output.
 
 
-        Chrome: Runner reset.
-        ...
-        Total 3 tests (Passed: 3; Fails: 0; Errors: 0) (5.00 ms)
-          Chrome 11.0.696.57 Mac OS: Run 3 tests (Passed: 3; Fails: 0; Errors 0) (5.00 ms)
+    Chrome: Runner reset.
+    ...
+    Total 3 tests (Passed: 3; Fails: 0; Errors: 0) (5.00 ms)
+      Chrome 11.0.696.57 Mac OS: Run 3 tests (Passed: 3; Fails: 0; Errors 0) (5.00 ms)
 
 
 
@@ -251,17 +236,7 @@ Now that the phone details view is in place, proceed to step 9 to learn how to w
 custom display filter.
 
 
-
-
-
-
-
-
-
-
-
{@link tutorial.step_07 Previous}{@link http://angular.github.com/angular-phonecat/step-8/app Live Demo -}{@link tutorial Tutorial Home}{@link https://github.com/angular/angular-phonecat/compare/step-7...step-8 Code -Diff}{@link tutorial.step_09 Next}
+ -- cgit v1.2.3