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