| $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