Ensure that $routeProvider is defined.