Looking at your picture of the spindle controller, there is no power to drive the motor for it. There should be wiring in the bottom right connector ‘AC IN’.
The loose wires you have look like they belong in there. Do the wire idents correspond with the pin numbers on the PCB? There should be 115v AC on those two wires.