added some angular code