Pony.fm/public/scripts/app/controllers/artist-profile.coffee

10 lines
249 B
CoffeeScript
Raw Normal View History

2013-08-01 04:47:21 +02:00
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) ->
]