I've got template which looks like this:
<tr ng-repeat="task in tasks" class="thumbnail">
<td ng-model="task.id">{[{ task.id }]}</td>
<td ng-model="task.time_start">{[{ task.time_start | date : 'MMM d, y HH:mm' }]}</td>
<td ng-model="task.time_stop">{[{ task.time_stop | date : 'MMM d, y HH:mm' }]}</td>
<td>[here i want the time difference]</td>
<td><button ng-click="edit(task)">Update</button></td>
</tr>
and I want to count hours difference between task.time_stop
and task.time_start
. Is there anyway to do this "live"
, in template?