Pony.fm/resources/assets/scripts/app/controllers/artist-profile.coffee
2015-10-24 19:35:37 -07:00

10 lines
268 B
CoffeeScript

window.pfm.preloaders['artist-profile'] = [
'artists', '$state'
(artists, $state) ->
artists.fetch $state.params.slug, true
]
angular.module('ponyfm').controller "artist-profile", [
'$scope', 'artists', '$state'
($scope, artists, $state) ->
]