An AngularJS directive for Masonry