Auto load playlists

This commit is contained in:
Philippe Vienne 2016-04-17 22:40:28 +02:00
parent c93dc48fa3
commit b8532dbf09

View file

@ -84,13 +84,14 @@
};
$scope.open = function(playlist) {
$state.go('finder.playlist.dups',{uid: playlist.owner.id, id: playlist.id})
}
};
$scope.load();
}]);
app.controller("DupsCtrl",['$scope', '$stateParams',function($scope, $stateParams){
console.log('mldkqjs');
$scope.uid = $stateParams['uid'];
$scope.id = $stateParams['id'];
}]);
app.controller('AuthCtrl',['$scope', '$rootScope', '$interval', '$http', function($scope, $rootScope, $interval, $http){