extracted compile step into scope function, working towards resolving #13
extracted all methods to controller
renamed widget controller
using _.bind instead of Function.prototype.bind
added dist changes
added tests, fixes #25 and #26
Merge pull request #27 from DataTorrent/improved_widget_directive

Improved widget directive