diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-05-22 15:09:57 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-05-22 15:09:57 +0200 |
commit | 2bb6bc03b5c7c2eb6465d2c05159028ede6c93b4 (patch) | |
tree | 4db98c30abef529df257ed37ba293ca028fbfdf2 /js/controller/ContentController.js | |
parent | 7d15bfa996e7661e450070715a96fe8cb2d75a8c (diff) |
add autopaging directive
Diffstat (limited to 'js/controller/ContentController.js')
-rw-r--r-- | js/controller/ContentController.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/js/controller/ContentController.js b/js/controller/ContentController.js index ae5116dbb..796fea71a 100644 --- a/js/controller/ContentController.js +++ b/js/controller/ContentController.js @@ -11,6 +11,8 @@ app.controller('ContentController', function (Publisher, FeedResource, ItemResource, data) { 'use strict'; + ItemResource.clear(); + // distribute data to models based on key Publisher.publishAll(data); |