adds templates (for AngularJS) controller; fixes template for deckgrid; updates deckgrid initialization