mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-30 16:47: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
|
||
|
]
|