From 24d65607cdd44d367f2db35df849e1dfa7684e32 Mon Sep 17 00:00:00 2001 From: danrevah Date: Sat, 28 Jan 2017 19:15:43 +0200 Subject: [PATCH] feat(#20): Add orderBy pipe --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index da76549c..2db2a970 100644 --- a/README.md +++ b/README.md @@ -665,24 +665,24 @@ const deepObj = [ ```html -

{{ numbers | orderBy }}

-

{{ numbers | orderBy: '-' }}

+

{{ numbers | orderBy }}

+

{{ numbers | orderBy: '-' }}

{{ deepObj | orderBy: 'amount' }}

- +

{{ deepObj | orderBy: '-amount' }}

- +

{{ deepObj | orderBy: 'deep.prop' }}

- +

{{ deepObj | orderBy: '-deep.prop' }}

- +

{{ obj | orderBy: ['amount', 'id'] }}

- + ``` ## Object