title: "few seconds ago" and "a minute ago” text mismatches with the actual time given in angularjs
body: <p>In my web application, we have a requirement to display the time as "few seconds ago" and "few minutes ago" based on the time pulled from the back-end.</p>
  
  <p>I am using the <a href="https://github.com/urish/angular-moment" rel="nofollow noreferrer">angular-moment</a>
  and moment libraries.</p>
  
  <p>The text being displayed for the <em>"am-time-ago"</em> directive of "angular-moment", like "few seconds ago, a minute ago" for the given time, is not matching.
  Here, sometimes the text changes to "a minute ago" even before the actual time is more than a minute ago.</p>
  
  <p><a href="http://plnkr.co/edit/xxcu7kKlwGHYvrFecF6O?p=preview" rel="nofollow noreferrer">Here is the plunker which reflects the issue mentioned</a>.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>angular.module('timeApp', ['angularMoment'])
  .controller('mainController', function() {
    
    var vm = this;
    vm.time = new Date();//"2016-12-16 18:41:08";//new Date();
  });</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.23/angular.min.js"&gt;&lt;/script&gt;
  &lt;script src="//cdnjs.cloudflare.com/ajax/libs/moment.js/2.9.0/moment.min.js"&gt;&lt;/script&gt;
  &lt;script src="//cdnjs.cloudflare.com/ajax/libs/angular-moment/0.9.0/angular-moment.min.js"&gt;&lt;/script&gt;
  &lt;div class="container" ng-app="timeApp" ng-controller="mainController as main"&gt;
        &lt;div&gt;
          &lt;h2&gt;Displaying Time Relatively in Angular&lt;/h2&gt;
          &lt;p&gt;The Time is {{ main.time }}&lt;/p&gt;
          &lt;div am-time-ago="main.time"&gt;&lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>