sme small angular additions to templates and js controllers