mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-30 16:47:59 +01:00
13 lines
286 B
CoffeeScript
13 lines
286 B
CoffeeScript
|
angular.module('ponyfm').directive 'pfmPlaylistsList', () ->
|
||
|
restrict: 'E'
|
||
|
replace: true
|
||
|
templateUrl: '/templates/directives/playlists-list.html'
|
||
|
scope:
|
||
|
playlists: '=playlists',
|
||
|
class: '@class'
|
||
|
|
||
|
controller: [
|
||
|
'$scope', 'auth'
|
||
|
($scope, auth) ->
|
||
|
$scope.auth = auth.data
|
||
|
]
|