title: AngularJS - access "element" inside scope.$watch callback function
body: <p>For the following fiddle <a href="https://jsfiddle.net/qcuennL5/" rel="nofollow">https://jsfiddle.net/qcuennL5/</a>, I want to access "element" inside scope.$watch('$select.isOpened', ...). How can I do it?</p>
  
  <pre><code>scope.$watch('$select.isOpened', function(isOpened) {
  
  if(isOpened) {
      //Don't have access to 'element'. Hacked with $('...')
          $('div.dropdown').show();
      } else {
          $('div.dropdown').hide();
  }
  </code></pre>