added angular example code