use new queuelist

This commit is contained in:
Colin Frei 2013-07-22 08:17:00 +02:00
parent 43ffa9c186
commit e1539e4d33
2 changed files with 43 additions and 5 deletions

View file

@ -52,10 +52,8 @@ function FeedCtrl($scope, $routeParams, $location, feeds, pageSwitcher) {
pageSwitcher.setBack('feeds');
}
function QueueListCtrl($scope, $rootScope, pageSwitcher, feedItems, feeds, queueList) {
$scope.queue = [];
queueList.init($scope);
feedItems.listQueue(queueList);
function QueueListCtrl($scope, $rootScope, pageSwitcher, feedItems, feeds, downloader, newQueueList) {
$scope.queue = newQueueList.getQueueList();
$scope.playItem = function(id) {
feedItems.get(id, function(feedItem) {