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