From 413aa8f328ebea8eb8f832b87b43fe8e58bbc07b Mon Sep 17 00:00:00 2001 From: Ivan Verevkin Date: Mon, 21 Sep 2015 15:01:21 +0800 Subject: [PATCH] fix call angular.isUndefined --- src/ng/cacheFactory.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ng/cacheFactory.js b/src/ng/cacheFactory.js index ad3939879af7..f2a55cb3d810 100644 --- a/src/ng/cacheFactory.js +++ b/src/ng/cacheFactory.js @@ -67,10 +67,10 @@ $scope.keys = []; $scope.cache = $cacheFactory('cacheId'); $scope.put = function(key, value) { - if (isUndefined($scope.cache.get(key))) { + if (angular.isUndefined($scope.cache.get(key))) { $scope.keys.push(key); } - $scope.cache.put(key, isUndefined(value) ? null : value); + $scope.cache.put(key, angular.isUndefined(value) ? null : value); }; }]);