No longer using $location because it was cocking up the links.