toggle between react adn angular working