Pipes
Angular 2 provides a new way of filtering data: pipes
. Pipes are a replacementfor Angular 1.x's filters
. Most of the built-in filters from Angular 1.xhave been converted to Angular 2 pipes; a few other handy ones have been includedas well.
原文: https://angular-2-training-book.rangle.io/handout/pipes/