Doesn't this need corresponding javascript code to render the subwidget with the given view?  I don't see any registration of a 'ViewModel'.