added angular code for front end