A Japanese cabinet minister visited a controversial war shrine in Tokyo Friday in a move likely to anger China and South Korea, which see it as a symbol of Japan's militarist past.