remove old angular code