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.coffee5
1 files changed, 4 insertions, 1 deletions
diff --git a/js/app/controllers/itemcontroller.coffee b/js/app/controllers/itemcontroller.coffee
index 3350c674e..163d652ca 100644
--- a/js/app/controllers/itemcontroller.coffee
+++ b/js/app/controllers/itemcontroller.coffee
@@ -25,7 +25,10 @@ angular.module('News').factory '_ItemController', ->
class ItemController
- constructor: (@$scope, @itemModel) ->
+ constructor: (@$scope, @itemModel, @feedLoading) ->
+
+ @$scope.isLoading = =>
+ return @feedLoading.isLoading()
return ItemController \ No newline at end of file