Actualmente estoy tratando de crear una tabla con las últimas 5 notificaciones que se crearon con angularjs-toaster ( https://www.npmjs.com/package/angularjs-toaster ). Entiendo este servicio bastante bien, pero no he podido encontrar una respuesta si es posible obtener acceso a brindis anteriores que fueron "disparados". Con esto el usuario podrá ver sus últimas notificaciones. Así es como definí los brindis Si ayuda.
$rootScope.notify = function(type, message,title, timeout) { // function to pic timeout function pick(arg, def) { return (typeof arg === undefined ? def : arg); } timeout = pick(timeout, 5000); toaster.pop({ type: type, body: message, title:title, timeout: timeout, }); };