I am currently trying to create a table with the last 5 notifications that were created using angularjs-toaster (https://www.npmjs.com/package/angularjs-toaster). I understand this service fairly well, but I have not been able to find an answer if it is possible to get access to past toasts that were "shooted". With this the user could be able to see his/her last notifications. This is how I defined the toasts If it helps.
$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,
});
};