Auto load playlists
This commit is contained in:
parent
c93dc48fa3
commit
b8532dbf09
1 changed files with 3 additions and 2 deletions
|
@ -84,13 +84,14 @@
|
||||||
};
|
};
|
||||||
$scope.open = function(playlist) {
|
$scope.open = function(playlist) {
|
||||||
$state.go('finder.playlist.dups',{uid: playlist.owner.id, id: playlist.id})
|
$state.go('finder.playlist.dups',{uid: playlist.owner.id, id: playlist.id})
|
||||||
}
|
};
|
||||||
|
$scope.load();
|
||||||
}]);
|
}]);
|
||||||
|
|
||||||
app.controller("DupsCtrl",['$scope', '$stateParams',function($scope, $stateParams){
|
app.controller("DupsCtrl",['$scope', '$stateParams',function($scope, $stateParams){
|
||||||
console.log('mldkqjs');
|
|
||||||
$scope.uid = $stateParams['uid'];
|
$scope.uid = $stateParams['uid'];
|
||||||
$scope.id = $stateParams['id'];
|
$scope.id = $stateParams['id'];
|
||||||
|
|
||||||
}]);
|
}]);
|
||||||
|
|
||||||
app.controller('AuthCtrl',['$scope', '$rootScope', '$interval', '$http', function($scope, $rootScope, $interval, $http){
|
app.controller('AuthCtrl',['$scope', '$rootScope', '$interval', '$http', function($scope, $rootScope, $interval, $http){
|
||||||
|
|
Loading…
Reference in a new issue