Chapter 5. The Notifier Service - Creating Cron Jobs in Angular
This chapter is about utilizing previous services in an automated fashion. The goal that we are going to achieve is implementing a notifier service, which collects and rates news entries and notifies us if their ranks passed a predefined threshold. We can choose to be notified in two ways:
- We can be notified via the application itself. That means the moment we open the application. There should be a badge component where it reflects the number of news entries that have passed the rank threshold and when we click on the badge, it should open the page showing those news items.
- Or we can be notified by email. This provides more freedom because we don't need to open the application to find out what is happening and the moment a news item is qualified as a member of notification list, an email should be sent to us - by application - containing that list.
This introduction suggests two new features for our application...