The electronic brace disclosed herein can be for curing bones and/or muscle related injuries. The electronic brace adjusts angle of the electronic brace either by monitoring underlying muscle activity or by receiving an input signal from a portable device. The electronic brace includes one or more muscle activity sensors, a processor operatively coupled to the one or more muscle activity sensors, an angle adjustment assembly. The one or more muscle activity sensors monitor underlying muscle activity of a user wearing the electronic brace. The processor either receives signal based on underlying muscle activity or input signal from the portable device. The processor calculates a desired angle to which the electronic brace is to be adjusted.