stravid/slotcars — pull request #118 by DominikGuzei (2012-03-30 16:38:28+00:00)
Title: Chore/add containers and widgets

Adds containers and widgets + widget factory like discussed in [containers and widgets wiki page](https://github.com/stravid/slotcars/wiki/Containers-and-Widgets)

These will be used for the account widget / area on the home screen that is introduced in the ajax registration feature. It enables to define certain views as Containers that have locations where widgets can be added. It is basically readability sugar around {{dynamicView}} helpers.

The widgets are handy because they can be created through the widget factory and they encapsulate their functionality. They can accept parameters on creation and tell their delegates about important events.