played around angular code