ManifestWebDesign/angular-gridster — pull request #165 by psalami (2014-11-08 01:25:49+00:00)
Title: $broadcast when item is initialized

This is needed so we know the pixel size of the bounding box as soon as angular-gridster initializes the item (but before the size of the DOM element is set), so we can set the size of our content (i.e. a chart).

Due to relying on a $watch on item.sizeY / item.sizeX, the DOM is not updated immediately as soon as the item is initialized, so we cannot read the size of the box from the DOM right away. It would be preferred if we could fire this event *after* the size of the DOM element has been set already.