fix(directive): re-layout on masonry.reload
fix(directive): re-layout on masonry.reload

Fixes re-layouting from dynamically inserted masonry-bricks.

The change means that the whole grid is actually laid out again when the masonry.reload message is received. It did not work for me before when mixing "static" bricks and some that were loaded by a directive inside a brick. By using the scheduleMasonryOnce function we also assure that we don't get multiple calls.

If you don't like this, I think it would be a good idea to listen for a seperate message, so that it's possible for dynamically inserted bricks to ask for a new layout the same way that I am doing masonry.reload now.

Yuyuu/angular-masonry,gillyb/angular-masonry,passy/angular-masonry,vrouet/angular-masonry,Delapouite/angular-masonry,Jeremy017/angular-masonry,evermax/angular-masonry,tomersimis/angular-masonry,ronal2do/angular-masonry,centogram/angular-masonry,tomersimis/angular-masonry,rubencosta/angular-masonry,Yuyuu/angular-masonry,vrouet/angular-masonry,zorojean/angular-masonry,starkwang/angular-masonry,centogram/angular-masonry,gillyb/angular-masonry,rubencosta/angular-masonry,evermax/angular-masonry,starkwang/angular-masonry,Delapouite/angular-masonry,Jeremy017/angular-masonry,ronal2do/angular-masonry,passy/angular-masonry,zorojean/angular-masonry