delete visits directive, change visits controller