mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-23 21:47:59 +01:00
12 lines
No EOL
259 B
CoffeeScript
12 lines
No EOL
259 B
CoffeeScript
angular.module('ponyfm').directive 'pfmAlbumsList', () ->
|
|
restrict: 'E'
|
|
templateUrl: '/templates/directives/albums-list.html'
|
|
scope:
|
|
albums: '=albums',
|
|
class: '@class'
|
|
|
|
controller: [
|
|
'$scope', 'auth'
|
|
($scope, auth) ->
|
|
$scope.auth = auth.data
|
|
] |