title: AngularJS accessing DOM elements inside directive template
body: <p>Is there a more "angular" way of selecting DOM elements inside a directive template? For example, say you have this directive:</p>
  
  <pre><code>app.directive("myDirective", function() {
      return {
          template: '&lt;div&gt;&lt;ul&gt;&lt;li ng-repeat="item in items"&gt;&lt;/ul&gt;&lt;/div&gt;',
          link: function(scope, element, attrs) {
              var list = element.find("ul");
          }
      }
  });
  </code></pre>
  
  <p>I used the jQuery style selector to get a hold of the DOM <code>&lt;ul&gt;</code> element rendered in my template. Is there a better way to do this?</p>