mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-30 08:37:59 +01:00
10 lines
No EOL
259 B
CoffeeScript
10 lines
No EOL
259 B
CoffeeScript
angular.module('ponyfm').controller "account-image-select", [
|
|
'$scope'
|
|
($scope) ->
|
|
$scope.images = []
|
|
$scope.isLoading = true
|
|
|
|
$.getJSON('/api/web/images/owned').done (images) -> $scope.$apply ->
|
|
$scope.images = images
|
|
$scope.isLoading = false
|
|
] |