title: Get element parent height inside directive in AnguarJS
body: <p>How do you get and set the parent height from an element from inside a directive?</p>
  
  <p>This is what I have now, obviously it's not working.</p>
  
  <pre><code>var vAlign = angular.module("vAlign", [])
  .directive('vAlign', function() {
    return {
          restrict : "AC",
          link: function(scope, e){
  
              e.parent.height(1200);
              console.log(e.parent.height);
          }
      };
  });
  </code></pre>