move queuelist to it's own file

This commit is contained in:
Colin Frei 2013-07-29 17:36:14 +02:00
parent 28c769dfae
commit 735c6e1229
3 changed files with 44 additions and 40 deletions

View file

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