title: AngularJS Get Element Attributes without JQuery
body: <p>I am working on creating a AngularJS site that DOES NOT use JQuery. In a directive, the values that are passed are</p>
  
  <pre><code>EngagementApp.directive('movingAside', function() {
      return {
          restrict : 'A',
          link : function(scope, element, attributes) {
  
        }
      }
  });
  </code></pre>
  
  <p>And html looks like:</p>
  
  <pre><code>&lt;div class="aside" moving-aside&gt;...Content...&lt;/div&gt;
  </code></pre>
  
  <p>Doing things like element.clientHeight returns an undefined.</p>
  
  <p>How can get the attributes(height, width, offset, etc) of the element without using JQuery and only AngularJS functions?</p>