add notification saying backup was created

This commit is contained in:
Manuel Araoz 2014-06-17 11:33:43 -03:00
commit 718ae69576
2 changed files with 9 additions and 4 deletions

View file

@ -1,7 +1,7 @@
'use strict';
angular.module('notifications', []).
factory('$notification', ['$timeout',function($timeout){
factory('$notification', ['$timeout',function($timeout, $rootScope){
var notifications = JSON.parse(localStorage.getItem('$notifications')) || [],
queue = [];
@ -197,7 +197,9 @@ angular.module('notifications', []).
clear: function(){
notifications = [];
this.save();
}
},
init: function() {}
};
}]).