Reworks routing to use Rails, and updates Angular