mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-30 08:37:59 +01:00
18e41d2af4
Volume Slider Track Uploader Fav list A bunch of other things And stuff.
12 lines
No EOL
310 B
CoffeeScript
12 lines
No EOL
310 B
CoffeeScript
window.pfm.preloaders['favourites-playlists'] = [
|
|
'favourites'
|
|
(favourites) ->
|
|
favourites.fetchPlaylists(true)
|
|
]
|
|
|
|
angular.module('ponyfm').controller "favourites-playlists", [
|
|
'$scope', 'favourites'
|
|
($scope, favourites) ->
|
|
favourites.fetchPlaylists().done (res) ->
|
|
$scope.playlists = res.playlists
|
|
] |