The controller yuan lang, I don't think you will likely ever find one unless OEM on a bike.
To confirm whether the controller or motor is at fault one will have to carry out some tests.
Easy test with no battery power, can you turn the motor wheel forwards by hand with controller connected ?