Chapter 7.  The Report Generator Service - Creating Controllers to Set Report Template

In this chapter, we are going to create a service to read the network graph data (generated from the previous chapter), mix it with summary details created from the corpus, and generate various reports. The report will solely rely on the data that we feed it. So the first two requirements are:

  • Corpus summary (corpus size, vocabulary size, average article size, and so on)
  • Network graph data

When these information sources are in place, we can feed them (as raw data) to the Report Generator and make it generate different types of reports (with different levels of details).

That means the report generator should have controllers to set the template for the report (child ...

Get Angular Services now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.