I\'m building a scrolling directive with Angular and see a strange behavior of element heights. They do not change on resize. I went down to the simplest plain JS, but the bug i
you can plug this into your link function in your directive,
angular.element($window).bind('resize', function () {
rebuild();
});
make sure to inject $window into the directive function,
and just call rebuild or another function inside. of course, you should also change the transcluded to the appropriate angularJS form.