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

13 lines
No EOL
274 B
CoffeeScript

angular.module('ponyfm').directive 'pfmAlbumsList', () ->
restrict: 'E'
replace: true
templateUrl: '/templates/directives/albums-list.html'
scope:
albums: '=albums',
class: '@class'
controller: [
'$scope', 'auth'
($scope, auth) ->
$scope.auth = auth.data
]