made the edit page work, added a bunch of angular code