added angular code snippet