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); }; }]);