In this chapter, we took the Collector component to the next level by adding a service to it. We saw how to delegate data handling tasks to services. We learned about the Dependency Injection framework and how it handles all required dependencies for a class. We used the Angular HTTP module for communicating with news servers and saw how to subscribe to observable objects to get the information that we are interested in.
We learned about the Firebase and its Realtime Database and used it to save news entries as objects.
In the next chapter, we will see how to evaluate a news headline and find out if it is worthy of spending time for further investigations.