removing invalid $location from routingService