Typo fixed. Closes #384

This commit is contained in:
jennyraj 2015-11-17 13:17:14 -05:00 committed by Ward Bell
parent 5f9ad5552d
commit e6e66e1d2c
1 changed files with 2 additions and 2 deletions

View File

@ -133,7 +133,7 @@ figure.image-display
* A pipe is a class
* We decorate the class with the `@Pipe` decorator function.
* The `@Pipe` decorator takes an object with a name property whose value is the
pipe name that we'll use within a template expression. It must be a valid JavaScript identier.
pipe name that we'll use within a template expression. It must be a valid JavaScript identifier.
Our pipe's name is `exponenentialStrength`.
* The pipe class implements a `transform` method
* `transform` takes a value and an optional array of strings.
@ -243,4 +243,4 @@ figure.image-display
of our views.
Explore Angular's inventory of built-in pipes in the [API Reference](../api/).
Try writing a custom pipe and perhaps contributing it to the community.
Try writing a custom pipe and perhaps contributing it to the community.