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_09.ngdoc | 42 +++++++++---------------------------- 1 file changed, 10 insertions(+), 32 deletions(-) (limited to 'docs/content/tutorial/step_09.ngdoc') diff --git a/docs/content/tutorial/step_09.ngdoc b/docs/content/tutorial/step_09.ngdoc index 8043af85..fc9ba360 100755 --- a/docs/content/tutorial/step_09.ngdoc +++ b/docs/content/tutorial/step_09.ngdoc @@ -1,36 +1,22 @@ @ngdoc overview -@name Tutorial: Step 9 +@name Tutorial: 9 - Filters @description - - - - - - - - -
{@link tutorial.step_08 Previous}{@link http://angular.github.com/angular-phonecat/step-9/app Live Demo -}{@link tutorial Tutorial Home}{@link https://github.com/angular/angular-phonecat/compare/step-8...step-9 Code -Diff}{@link tutorial.step_10 Next}
-In this step you will learn how to create your own custom display filter. + + -1. Reset your workspace to Step 9 using: +In this step you will learn how to create your own custom display filter. - git checkout -f step-9 - or + - ./goto_step.sh 9 -2. Refresh your browser or check the app out on {@link -http://angular.github.com/angular-phonecat/step-9/app angular's server}. Navigate to one of the detail pages. @@ -51,7 +37,7 @@ GitHub}: In order to create a new filter, simply register your custom filter function with the {@link -angular.filter `angular.filter`} API. +api/angular.filter `angular.filter`} API. __`app/js/filters.js`:__ @@ -146,7 +132,7 @@ output. # Experiments -* Let's experiment with some of the {@link angular.filter built-in angular filters} and add the +* Let's experiment with some of the {@link api/angular.filter built-in angular filters} and add the following bindings to `index.html`: * `{{ "lower cap string" | uppercase }}` * `{{ {foo: "bar", baz: 23} | json }}` @@ -170,14 +156,6 @@ Now that you have learned how to write and test a custom filter, go to step 10 t use angular to enhance the phone details page further. - - - - - - - - -
{@link tutorial.step_08 Previous}{@link http://angular.github.com/angular-phonecat/step-9/app Live Demo -}{@link tutorial Tutorial Home}{@link https://github.com/angular/angular-phonecat/compare/step-8...step-9 Code -Diff}{@link tutorial.step_10 Next}
+ + + -- cgit v1.2.3