add jquery pass through angular-ui plugin
only update if size changed
widget show template
more detailed comment