fix notification error is not function bug

This commit is contained in:
Listen 1 2018-02-17 15:53:03 +08:00
parent f34cf219f7
commit 367e6b91f5

View File

@ -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);
});