One issue I encountered is that when my expanding divs overlap with the ones below due to absolute positioning from Masonry and a certain directive. To address this, I need the lower divs to move down as the top div expands.
You can find more information at:
and here: https://github.com/passy/angular-masonry/blob/master/src/angular-masonry.js
/*!
* angular-masonry <%= pkg.version %>
* Pascal Hartig, weluse GmbH, http://weluse.de/
* License: MIT
*/
(function () {
'use strict';
angular.module('wu.masonry', [])
.controller('MasonryCtrl', function controller($scope, $element, $timeout) {
var bricks = {};
var schedule = [];
var destroyed = false;
var self = this;
var timeout = null;
// More code follows...