adding a bit more angular code