Skip to content

Instantly share code, notes, and snippets.

/base.coffee
Created Dec 17, 2014

Embed
What would you like to do?
$scope.showLoading = (message = 'Please wait...') ->
$scope.loader.message = message
loadingNeeded = true
lodash.delay ->
if loadingNeeded
loadingNeeded = false
console.log "setting loading to true"
$scope.loader.isActive = true
, 400
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.