<!-- made by Miguel Rodrigues @ KBZ miguel.rodrigues@knowledgebiz.pt -->
<h1>Statistics for {{appID}}</h1>
<table class="table">
<thead>
<tr>
<th>Date</th>
<th>Notifications Applied by Rule (True/False)</th>
<th>Subject Value of Notification</th>
<th>Subject of Notification</th>
<th>RuleID</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="stat in statistics">
<td>{{stat.date}}</td>
<td>{{stat.result}}</td>
<td>{{stat.subjectValue}}</td>
<td>{{stat.subject}}</td>
<td>{{stat.rulesID}}</td>
</tr>
</tbody>
</table>
<br><br>
<center><h3>Total Values</h3></center>
<br>
<table class="table">
<thead>
<tr>
<th>Total Notifications</th>
<th>Total Notifications Applied by Rule</th>
<th>Average Values of Total Notifications</th>
<th>Percentage of Total Notifications Applied by Rule with Total Notifications </th>
</tr>
</thead>
<tbody>
<td>{{totalNotifications}}</td>
<td>{{totalNotificationsApplyByRules}}</td>
<td>{{averageValue}}</td>
<td>{{percentage}} %</td>
</tbody>
</table>