Files
2021-08-02 18:59:42 +01:00

10 lines
297 B
CoffeeScript

angular.module('Darkswarm').directive "loading", (Loading)->
# Triggers a screen-wide "loading" thing when Ajaxy stuff is happening
scope: {}
restrict: 'E'
templateUrl: 'loading.html'
controller: ($scope)->
$scope.Loading = Loading
$scope.show = ->
$scope.Loading.message?