added reference solution for Angular