fixes #61 so that controllers are defined in the HTML markup so that the HTML partials become stand alone and reusable - and easily work inside the dashboard