Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

120
Views
How to collect the last 5 notifications that were created using angularjs-toaster?

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,
    });
};
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!