diff options
| author | Igor Minar | 2011-06-15 22:32:24 -0700 |
|---|---|---|
| committer | Igor Minar | 2011-06-15 22:32:24 -0700 |
| commit | 3c87611188fc1612fe5d07e245a992b25146f2bf (patch) | |
| tree | 3a08e9ee80ab7abdd2b516f66e62ddb7554d6954 /docs/content/tutorial | |
| parent | b842642b574a2b95c53b791308ed1bf8ff9d304d (diff) | |
| download | angular.js-3c87611188fc1612fe5d07e245a992b25146f2bf.tar.bz2 | |
docs - various doc fixes
Diffstat (limited to 'docs/content/tutorial')
| -rw-r--r-- | docs/content/tutorial/step_09.ngdoc | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/docs/content/tutorial/step_09.ngdoc b/docs/content/tutorial/step_09.ngdoc index 0d5da766..4aa5c56b 100644 --- a/docs/content/tutorial/step_09.ngdoc +++ b/docs/content/tutorial/step_09.ngdoc @@ -88,46 +88,34 @@ describe('checkmark filter', function() { }) </pre> - To run the unit tests, execute the `./scripts/test.sh` script and you should see the following output. - Chrome: Runner reset. .... Total 4 tests (Passed: 4; Fails: 0; Errors: 0) (3.00 ms) Chrome 11.0.696.57 Mac OS: Run 4 tests (Passed: 4; Fails: 0; Errors 0) (3.00 ms) - - # Experiments - * 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 }}` * `{{ 1304375948024 | date }}` - * `{{ 1304375948024 | date:"'MM/dd/yyyy @ h:mma" }}` - + * `{{ 1304375948024 | date:"MM/dd/yyyy @ h:mma" }}` * 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 }} - - # Summary - Now that you have learned how to write and test a custom filter, go to step 10 to learn how we can use angular to enhance the phone details page further. - - <ul doc:tutorial-nav="9"></ul> |
