annotated angular code