title: Multiple $scope.$watch with different functions
body: <p>I want to watch two variables in my angularjs application using $scope.$watch. One is an <code>&lt;input&gt;</code> tag which I want to always watch, and the other is just a list <code>$scope.sample</code> which I want to cancel the $watch after the list is modified:</p>
  
  <pre><code>var listener = $scope.$watch(function(){
     ...
     listener()
  })
  </code></pre>
  
  <p>I don't think I can have two <code>$scope.$watch</code> declarations in a single controller because angular complains that $digest is already in progress. How could I do this? Thanks!</p>