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