February 2017
Beginner to intermediate
294 pages
6h 9m
English
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> ...Read now
Unlock full access