From 09b39bf77a2586e8817db9920a320ec6ae1e26e3 Mon Sep 17 00:00:00 2001 From: gdi2290 Date: Thu, 30 Apr 2015 23:02:14 -0700 Subject: [PATCH] docs(core): fix Formatters -> Pipes long overdue update Closes #1629 --- modules/angular2/docs/core/03_formatters.md | 15 ------------ modules/angular2/docs/core/03_pipes.md | 27 +++++++++++++++++++++ 2 files changed, 27 insertions(+), 15 deletions(-) delete mode 100644 modules/angular2/docs/core/03_formatters.md create mode 100644 modules/angular2/docs/core/03_pipes.md diff --git a/modules/angular2/docs/core/03_formatters.md b/modules/angular2/docs/core/03_formatters.md deleted file mode 100644 index 6669b6d244..0000000000 --- a/modules/angular2/docs/core/03_formatters.md +++ /dev/null @@ -1,15 +0,0 @@ -# Formatters - -Formatters can be appended on the end of the expressions to translate the value to a different format. Typically used -to control the stringification of numbers, dates, and other data, but can also be used for ordering, mapping, and -reducing arrays. Formatters can be chained. - -NOTE: Formatters are known as filters in Angular v1. - -Formatters syntax is: - -``` -// TODO: provide syntax of formatter here -``` - - diff --git a/modules/angular2/docs/core/03_pipes.md b/modules/angular2/docs/core/03_pipes.md new file mode 100644 index 0000000000..768a9d3957 --- /dev/null +++ b/modules/angular2/docs/core/03_pipes.md @@ -0,0 +1,27 @@ +# Pipes + +Pipes can be appended on the end of the expressions to translate the value to a different format. Typically used +to control the stringification of numbers, dates, and other data, but can also be used for ordering, mapping, and +reducing arrays. Pipes can be chained. + +NOTE: Pipes are known as filters in Angular v1. + +Pipes syntax is: + +``` +
+

+ {{ model.getValue('copy') | async | uppercase }} +

+
+``` + +