Pony.fm/public/scripts/app/directives/albums-list.coffee

13 lines
274 B
CoffeeScript
Raw Normal View History

2013-08-01 04:47:21 +02:00
angular.module('ponyfm').directive 'pfmAlbumsList', () ->
restrict: 'E'
2013-08-27 08:53:37 +02:00
replace: true
2013-08-01 04:47:21 +02:00
templateUrl: '/templates/directives/albums-list.html'
scope:
albums: '=albums',
class: '@class'
controller: [
2013-08-01 10:57:08 +02:00
'$scope', 'auth'
($scope, auth) ->
$scope.auth = auth.data
2013-08-01 04:47:21 +02:00
]