Pony.fm/public/scripts/app/directives/playlists-list.coffee
2013-08-27 01:53:37 -05:00

13 lines
No EOL
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
]