The accuracy manager view

As we mentioned before, the view consists of two tables. In the Prevention table, we loop through the preventions property and assemble a list of preventions that are already in place, their location, and also the number of times that they have been called during the application execution:

# src/app/accuracy/accuracy.html <div class="container"> <div class="row"> <div class="col-md-6"> <div class="panel panel-default"> <div class="panel-heading">Prevention</div> <div class="panel-body"> <p>This is where we prevent incidents in our application</p> </div> <!-- Table --> <table class="table"> <thead><tr> <th>#</th> <th>Description</th> <th>Hits</th> </tr></thead> <tbody> <tr *ngFor="let p of prevents; let i=index"> <th scope="row">{{i+1}}</th> ...

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

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.