Changed all the item editting code to use angular js