adding angular code