update angular code