Pony.fm/resources/assets/scripts/app/directives/albums-list.coffee
2015-10-24 19:35:37 -07:00

13 lines
326 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
]