diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2013-03-26 19:30:27 +0100 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2013-03-26 19:30:27 +0100 |
commit | f7c819938067fb6a81822f26943a5c136643a1f7 (patch) | |
tree | aa6663df5cce7a7bbb46aad728df033706d88991 /js/app/controllers | |
parent | eff408710b708a44cf3869599985fd8246c0400b (diff) |
viewing the first 20 items is now possible
Diffstat (limited to 'js/app/controllers')
-rw-r--r-- | js/app/controllers/itemcontroller.coffee | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/js/app/controllers/itemcontroller.coffee b/js/app/controllers/itemcontroller.coffee index 163d652ca..c23d84e14 100644 --- a/js/app/controllers/itemcontroller.coffee +++ b/js/app/controllers/itemcontroller.coffee @@ -27,6 +27,8 @@ angular.module('News').factory '_ItemController', -> constructor: (@$scope, @itemModel, @feedLoading) -> + @$scope.items = @itemModel.getAll() + @$scope.isLoading = => return @feedLoading.isLoading() |