Added webapi and more angular code