Gandhi was hardly the sole arbiter of Indian resistance. In fact their success in fighting colonial rule was dependent on the reality that there were people like Bhagat Singh who were willing to and did use militant tactics.
OTM. The history of the Indian independence movement is a lot more complicated than the simple image of Ghandi and non-violence that most people receive through popular culture.