summaryrefslogtreecommitdiffstats
path: root/js/app/controllers/itemcontroller.coffee
diff options
context:
space:
mode:
Diffstat (limited to 'js/app/controllers/itemcontroller.coffee')
-rw-r--r--js/app/controllers/itemcontroller.coffee2
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()