From 1b10f1ec31fda636e366a532e1c307ebdd9f3fb2 Mon Sep 17 00:00:00 2001 From: zainengineer Date: Wed, 28 May 2014 04:33:43 +0930 Subject: [PATCH] example of directly calling $filter('orderBy') --- src/ng/filter/orderBy.js | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/src/ng/filter/orderBy.js b/src/ng/filter/orderBy.js index 319950a1a8af..8e816ab7a79a 100644 --- a/src/ng/filter/orderBy.js +++ b/src/ng/filter/orderBy.js @@ -61,6 +61,44 @@ + + + + +
+ + + + + + + + + + + +
Name + ( + ^)Phone Number + Age +
{{friend.name}}{{friend.phone}}{{friend.age}}
+
+
+
*/ orderByFilter.$inject = ['$parse']; function orderByFilter($parse){