title: How to start and reset angular timer from controller?
body: <p>I want to start timer when user click on <code>recordLogs</code> method and reset timer when user click on <code>stopLogs</code> method. According to angular-timer documentation we can use <code>timer-stop</code> and <code>timer-clear</code> method to achieve these task but i am getting error <code>start</code> and <code>clear</code> undefined on timer when i invoked them from controller. Any idea ?</p>
  
  <p>main.html</p>
  
  <pre><code> &lt;div class="col-md-3"&gt;
             &lt;timer interval="1000"&gt;{{hours}} hour{{hoursS}}, {{minutes}} minute{{minutesS}}, {{seconds}} second{{secondsS}}.&lt;/timer&gt;
   &lt;/div&gt;
  </code></pre>
  
  <p>Ctrl.js</p>
  
  <pre><code>$scope.stopLogs = function() {
      $scope.timer-clear();
  
  };
  
  $scope.recordLogs = function() {
      $scope.timer-start();
  }
  </code></pre>