Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ or this:
```

* `promise` - Required. The promise (or array of promises) that will cause the busy indicator to show.
* `message` - Optional. Defaults to 'Please Wait...'. The message to show in the indicator. This value may be updated while the promise is active. The indicator will reflect the updated values as they're changed.
* `message` - Optional. Defaults to 'Please Wait...'. The message to show in the indicator. This value may be updated while the promise is active. The indicator will reflect the updated values as they're changed. `false` to hide message.
* `backdrop` - Optional. Boolean, default is true. If true a faded backdrop will be shown behind the progress indicator.
* `templateUrl` - Optional. If provided, the given template will be shown in place of the default progress indicatory template.
* `delay` - Optional. The amount of time to wait until showing the indicator. Defaults to 0. Specified in milliseconds.
Expand Down
2 changes: 1 addition & 1 deletion angular-busy.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ angular.module('cgBusy').directive('cgBusy',['$compile','$templateCache','cgBusy
templateScope = scope.$new();
}

templateScope.$message = options.message;
templateScope.$message = options.message !== false ? options.message : '';

if (!angular.equals(tracker.promises,options.promise)) {
tracker.reset({
Expand Down