mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-12-04 18:28:00 +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
|
|
] |