$parse on correct scopes. Always emit widget-resized events.

Fixes #2 and #4.