change visits directive and controller