javascript and html additions for angular