updated Angular example