Added some angular functionality in html