added in some angular stuff, added edit/update