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