Transition to chaos in random neuronal networks