AngularJS directive for google images-like expandable grid