angular concept working for visits