diff --git a/src/deferred-bootstrap.js b/src/deferred-bootstrap.js index a08ae6e..8331173 100644 --- a/src/deferred-bootstrap.js +++ b/src/deferred-bootstrap.js @@ -83,8 +83,7 @@ function bootstrap (configParam) { forEach(config.resolve, callResolveFn); $q.all(promises) - .then(handleResults, addErrorClass) - .finally(removeLoadingClass); + .then(handleResults, addErrorClass)['finally'](removeLoadingClass); }