diff --git a/js/vendor/angular-ui-notification.js b/js/vendor/angular-ui-notification.js index 9ec1016..884eb15 100644 --- a/js/vendor/angular-ui-notification.js +++ b/js/vendor/angular-ui-notification.js @@ -147,7 +147,7 @@ angular.module('ui-notification').provider('Notification', function() { deferred.resolve(scope); - }).error(function(data){ + }).catch(function(data){ throw new Error('Template ('+args.template+') could not be loaded. ' + data); });