aboutsummaryrefslogtreecommitdiffstats
path: root/src/apis.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/apis.js')
-rw-r--r--src/apis.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/apis.js b/src/apis.js
index 1acc143b..0038a6e1 100644
--- a/src/apis.js
+++ b/src/apis.js
@@ -178,7 +178,7 @@ var angularArray = {
descending = $.charAt(0) == '-';
$ = $.substring(1);
}
- var get = $ ? angular['Function']['compile']($) : identity;
+ var get = $ ? expressionCompile($).fnSelf : identity;
return reverse(function(a,b){
return compare(get(a),get(b));
}, descending);