aboutsummaryrefslogtreecommitdiffstats
path: root/src/DataStore.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/DataStore.js')
-rw-r--r--src/DataStore.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DataStore.js b/src/DataStore.js
index bdf882a0..6eeabb21 100644
--- a/src/DataStore.js
+++ b/src/DataStore.js
@@ -92,7 +92,7 @@ DataStore.prototype.save = function(document, callback) {
var cachedDoc = self.cache(document);
_.each(self._cache.$collections, function(collection){
if (collection.$$accept(document)) {
- angular.Array.includeIf(collection, cachedDoc, true);
+ angular['Array']['includeIf'](collection, cachedDoc, true);
}
});
if (document.$$anchor) {