summaryrefslogtreecommitdiffstats
path: root/js/app/services/services.coffee
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-03-23 16:08:39 +0100
committerBernhard Posselt <nukeawhale@gmail.com>2013-03-23 16:08:39 +0100
commitd65fa8090469286396342ff2299b58b79d83f8f3 (patch)
treec1364cc456f556205d8e14f729b38ba745b3ba06 /js/app/services/services.coffee
parent1f670b3180cfd71b8085c4ef0fe414a6a78e7d44 (diff)
fixed dicontainer and added basic controllers
Diffstat (limited to 'js/app/services/services.coffee')
-rw-r--r--js/app/services/services.coffee11
1 files changed, 8 insertions, 3 deletions
diff --git a/js/app/services/services.coffee b/js/app/services/services.coffee
index 31b33871c..08d4d6274 100644
--- a/js/app/services/services.coffee
+++ b/js/app/services/services.coffee
@@ -23,9 +23,9 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
# request related stuff
angular.module('News').factory 'Persistence', ['_Persistence', 'Request',
-'Loading', 'Config', '$rootScope', 'ActiveFeed',
-(_Persistence, Request, Loading, Config, ActiveFeed, $rootScope) ->
- return new _Persistence(Request, Loading, Config, ActiveFeed, $rootScope)
+'FeedLoading', 'Config', '$rootScope', 'ActiveFeed',
+(_Persistence, Request, FeedLoading, Config, ActiveFeed, $rootScope) ->
+ return new _Persistence(Request, FeedLoading, Config, ActiveFeed, $rootScope)
]
angular.module('News').factory 'Request',
@@ -34,6 +34,11 @@ angular.module('News').factory 'Request',
return new _Request($http, Publisher, Router)
]
+# loading helpers
+angular.module('News').factory 'FeedLoading',
+['_Loading', (_Loading) ->
+ return new _Loading()
+]
# models
angular.module('News').factory 'ActiveFeed', ['_ActiveFeed', (_ActiveFeed) ->