mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-23 05:27:59 +01:00
13 lines
274 B
CoffeeScript
13 lines
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
|
||
|
]
|