Yes, you need to create an attribute directive and put it on the ng-repeat.
<div ng-repeat="whatever in items" outer-height></div>
The directive will have a link function which happens after it has compiled.
app.directive('outerHeight', function(){
return{
restrict:'A',
link: function(scope, element){
//using outerHeight() assumes you have jQuery
//use Asok's method in comments if not using jQuery
console.log(element.outerHeight());
}
};
});
Here's a Plnkr which will log the outerHeight to console: http://plnkr.co/edit/AdGpnzJilW2179Ybuurk?p=preview
Note You will need to use a $watch
and get a new height if data changes.