new changes to angular code